staging: rtl8192e: Convert typedef adhoc_peer_entry_t to struct adhoc_peer_entry
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 05:16:51 +0000 (00:16 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:51:32 +0000 (01:51 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl_wx.c

index 3a0fcfc3401ee83e4f5cc14d76cd24ce9fea6b2f..31a492672a7ffb70e791a1d52a073715e9a0f95b 100644 (file)
@@ -186,15 +186,14 @@ static int r8192_wx_force_mic_error(struct net_device *dev,
 }
 
 #define MAX_ADHOC_PEER_NUM 64
-typedef struct
-{
+struct adhoc_peer_entry {
        unsigned char MacAddr[ETH_ALEN];
        unsigned char WirelessMode;
        unsigned char bCurTxBW40MHz;
-} adhoc_peer_entry_t, *p_adhoc_peer_entry_t;
+};
 typedef struct
 {
-       adhoc_peer_entry_t Entry[MAX_ADHOC_PEER_NUM];
+       struct adhoc_peer_entry Entry[MAX_ADHOC_PEER_NUM];
        unsigned char num;
 } adhoc_peers_info_t, *p_adhoc_peers_info_t;