]> git.hungrycats.org Git - linux/commitdiff
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)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 19 Mar 2018 18:58:22 +0000 (18:58 +0000)
commit 6b13eb1baa17b8746f96bd536d2897ec86e823d9 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/compat_ioctl.c

index f854cf9355a8e2dc03f0670953d789f29c65e4d0..d72deac465e34c48f1924ec5d2034acf39d42bac 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;