From 6b13eb1baa17b8746f96bd536d2897ec86e823d9 Mon Sep 17 00:00:00 2001 From: Han Shen Date: Fri, 12 Apr 2013 16:26:58 -0700 Subject: [PATCH] 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 --- fs/compat_ioctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 3ced75f765ca..996cdc5abb85 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; -- 2.30.2