Skip to content

Commit

Permalink
Removed unused typedef to avoid "unused local typedef" warnings.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Han Shen authored and Al Viro committed May 4, 2013
1 parent c0bd14a commit 6b13eb1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/compat_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6b13eb1

Please sign in to comment.