]> git.karo-electronics.de Git - karo-tx-linux.git/commit
compat_ioctl: Remove unused local typedef
authorAndi Kleen <ak@linux.intel.com>
Thu, 13 Sep 2012 01:01:12 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 18 Sep 2012 06:04:38 +0000 (16:04 +1000)
commit418f4a762bc2d398a9dbb4ce424ca9546178425e
tree8df2c3d31930c20b69b9db2883b49bd5172c6466
parentbee7f26e2d43328f280b469622d0537631c4c18c
compat_ioctl: Remove unused local typedef

gcc 4.8 always warns

fs/compat_ioctl.c: In function 'serial_struct_ioctl':
fs/compat_ioctl.c:609:38: warning: typedef 'SS' locally defined but not used [-Wunused-local-typedefs]
         typedef struct serial_struct SS;

Indeed that typedef is unused, so just remove it.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/compat_ioctl.c