summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHan Shen <shenhan@google.com>2013-04-12 16:26:58 -0700
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-04 15:03:05 -0400
commit6b13eb1baa17b8746f96bd536d2897ec86e823d9 (patch)
treed2447977a5d023002b135bc69bf0c8ad3455ae49
parentc0bd14af51a470895448f88edd1315c4fa0b0d27 (diff)
downloadop-kernel-dev-6b13eb1baa17b8746f96bd536d2897ec86e823d9.zip
op-kernel-dev-6b13eb1baa17b8746f96bd536d2897ec86e823d9.tar.gz
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 (shenhan@google.com) Change-Id: I4bccc234f1390daa808d2b309ed112e20c0ac096 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/compat_ioctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 3ced75f..996cdc5 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -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;
OpenPOWER on IntegriCloud