From: Larry Finger <Larry.Finger@lwfinger.net>
Date: Tue, 19 Jul 2011 05:19:05 +0000 (-0500)
Subject: staging: rtl8192e: Convert typedef adhoc_peers_info_t to struct adhoc_peers_info
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=49f4e74a94920807bfa5d952954c5b08b2d33359;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git

staging: rtl8192e: Convert typedef adhoc_peers_info_t to struct adhoc_peers_info

Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
---

diff --git a/drivers/staging/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl_wx.c
index 31a492672a7f..1eb2559765f5 100644
--- a/drivers/staging/rtl8192e/rtl_wx.c
+++ b/drivers/staging/rtl8192e/rtl_wx.c
@@ -191,11 +191,10 @@ struct adhoc_peer_entry {
 	unsigned char WirelessMode;
 	unsigned char bCurTxBW40MHz;
 };
-typedef struct
-{
+struct adhoc_peers_info {
 	struct adhoc_peer_entry Entry[MAX_ADHOC_PEER_NUM];
 	unsigned char num;
-} adhoc_peers_info_t, *p_adhoc_peers_info_t;
+};
 
 int r8192_wx_get_adhoc_peers(struct net_device *dev,
 			       struct iw_request_info *info,