Skip to contentSkip to conversation

Removed unused typedef to avoid "unused local typedef" warnings.

PATCH In review Han Shen 1 participant 2 messages Apr 12, 2013 – Apr 24, 2013 VFS

lore
Share & tools
lore

Han Shen

author
#0 lore raw

PATCH 1/1 Removed unused typedef to avoid "unused local typedef" warnings.

Fix warnings about unused local typedefs (reported by gcc 4.8).

Change-Id: I4bccc234f1390daa808d2b309ed112e20c0ac096

---
 fs/compat_ioctl.c | 1 -
 1 file changed, 1 deletion(-)
fs/compat_ioctl.c +0 -1
index 3ced75f..996cdc5 100644
@@ -608,7 +608,6 @@ struct serial_struct32 {
 static int serial_struct_ioctl(unsigned fd, unsigned cmd,
 			struct serial_struct32 __user *ss32)
 {
-        typedef struct serial_struct SS;
         typedef struct serial_struct32 SS32;
         int err;
         struct serial_struct ss;
Signature · 1 line
1.8.1.3
#1 lore raw

Ping?

Quoted 24 lines · Han Shen

Fix warnings about unused local typedefs (reported by gcc 4.8).

Change-Id: I4bccc234f1390daa808d2b309ed112e20c0ac096

---
 fs/compat_ioctl.c | 1 -
 1 file changed, 1 deletion(-)
fs/compat_ioctl.c +0 -2
index 3ced75f..996cdc5 100644
@@ -608,7 +608,6 @@ struct serial_struct32 {
 static int serial_struct_ioctl(unsigned fd, unsigned cmd,
                        struct serial_struct32 __user *ss32)
 {
-        typedef struct serial_struct SS;
         typedef struct serial_struct32 SS32;
         int err;
         struct serial_struct ss;
--

1.8.1.3

Signature · 1 line
Han Shen |  Software Engineer |  [email protected] |  +1-650-440-3330