Removed unused typedef to avoid "unused local typedef" warnings.
PATCH 1/1 Removed unused typedef to avoid "unused local typedef" warnings.
Fix warnings about unused local typedefs (reported by gcc 4.8).
Signed-off-by Han Shen ([email protected])
Change-Id: I4bccc234f1390daa808d2b309ed112e20c0ac096
--- fs/compat_ioctl.c | 1 - 1 file changed, 1 deletion(-)
fs/compat_ioctl.c +0 -1
@@ -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
Ping?
Quoted 24 lines · Han Shen
Fix warnings about unused local typedefs (reported by gcc 4.8).
Signed-off-by Han Shen ([email protected])Change-Id: I4bccc234f1390daa808d2b309ed112e20c0ac096
--- fs/compat_ioctl.c | 1 - 1 file changed, 1 deletion(-)fs/compat_ioctl.c +0
-2@@ -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