staging: wilc1000: removes typedef of struct struct_frame_reg
authorLeo Kim <leo.kim@atmel.com>
Fri, 25 Mar 2016 12:16:48 +0000 (21:16 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
This patch removes typedef of struct struct_frame_reg.
Renames the struct_frame_reg to frame_reg as well.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_netdevice.h

index 4123cffe3a6e195372ed0be5448b657a13d288e9..f394484a1cebf932ffa910ef8c382a6601b80380 100644 (file)
@@ -139,18 +139,17 @@ struct wilc_priv {
 
 };
 
-typedef struct {
+struct frame_reg {
        u16 frame_type;
        bool reg;
-
-} struct_frame_reg;
+};
 
 struct wilc_vif {
        u8 idx;
        u8 iftype;
        int monitor_flag;
        int mac_opened;
-       struct_frame_reg g_struct_frame_reg[num_reg_frame];
+       struct frame_reg g_struct_frame_reg[num_reg_frame];
        struct net_device_stats netstats;
        struct wilc *wilc;
        u8 src_addr[ETH_ALEN];