From: Larry Finger Date: Tue, 19 Jul 2011 05:16:51 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef adhoc_peer_entry_t to struct adhoc_peer_entry X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~14^2~124 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f0a1f2924b2698ec9eb58a2739fab633dd2b29cc;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rtl8192e: Convert typedef adhoc_peer_entry_t to struct adhoc_peer_entry Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl_wx.c index 3a0fcfc3401e..31a492672a7f 100644 --- a/drivers/staging/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl_wx.c @@ -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;