[PATCH 109/166] staging: rtl8192e: Convert typedef HT_IOT_PEER_E to enum ht_iot_peer

Larry Finger Larry.Finger at lwfinger.net
Thu Aug 25 04:58:32 UTC 2011


Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
---
 drivers/staging/rtl8192e/rtl819x_HT.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h
index 56c82fd..1e9c496 100644
--- a/drivers/staging/rtl8192e/rtl819x_HT.h
+++ b/drivers/staging/rtl8192e/rtl819x_HT.h
@@ -404,8 +404,7 @@ typedef enum _HT_AGGRE_SIZE_E{
 	HT_AGG_SIZE_64K = 3,
 } HT_AGGRE_SIZE_E, *PHT_AGGRE_SIZE_E;
 
-typedef enum _HT_IOT_PEER_E
-{
+enum ht_iot_peer {
 	HT_IOT_PEER_UNKNOWN = 0,
 	HT_IOT_PEER_REALTEK = 1,
 	HT_IOT_PEER_REALTEK_92SE = 2,
@@ -418,7 +417,7 @@ typedef enum _HT_IOT_PEER_E
 	HT_IOT_PEER_SELF_SOFTAP = 9,
 	HT_IOT_PEER_AIRGO = 10,
 	HT_IOT_PEER_MAX = 11,
-} HT_IOT_PEER_E, *PHTIOT_PEER_E;
+};
 
 typedef enum _HT_IOT_PEER_SUBTYPE_E
 {
-- 
1.7.3.4




More information about the devel mailing list