Removed unused typedef to avoid "unused local typedef" warnings.
authorHan Shen <shenhan@google.com>
Fri, 12 Apr 2013 23:26:58 +0000 (16:26 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 May 2013 19:03:05 +0000 (15:03 -0400)
Fix warnings about unused local typedefs (reported by gcc 4.8).

Signed-off-by: Han Shen (shenhan@google.com)
Change-Id: I4bccc234f1390daa808d2b309ed112e20c0ac096
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/compat_ioctl.c

index 3ced75f765ca069d12e6da7b1e4c38aa015f5279..996cdc5abb85dae304b85cd479aaa20de5135a5e 100644 (file)
@@ -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;