[PATCH 059/166] staging: rtl8192e: Convert typedef tx_pending_t to struct tx_pending
Larry Finger
Larry.Finger at lwfinger.net
Wed Aug 24 21:48:06 PDT 2011
Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
---
drivers/staging/rtl8192e/rtllib.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index 69cf468..1f405cd 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -1774,10 +1774,10 @@ enum rtllib_state {
#ifndef eqMacAddr
#define eqMacAddr(a,b) ( ((a)[0]==(b)[0] && (a)[1]==(b)[1] && (a)[2]==(b)[2] && (a)[3]==(b)[3] && (a)[4]==(b)[4] && (a)[5]==(b)[5]) ? 1:0 )
#endif
-typedef struct tx_pending_t{
+struct tx_pending {
int frag;
struct rtllib_txb *txb;
-}tx_pending_t;
+};//;
typedef struct _bandwidth_autoswitch
{
@@ -2392,7 +2392,7 @@ struct rtllib_device {
u8 amsdu_in_process;
/* used if IEEE_SOFTMAC_TX_QUEUE is set */
- struct tx_pending_t tx_pending;
+ struct tx_pending tx_pending;
/* used if IEEE_SOFTMAC_ASSOCIATE is set */
struct timer_list associate_timer;
--
1.7.3.4
More information about the devel
mailing list