Skip to contentSkip to conversation

staging: wilc1000: remove UWORD8

PATCH New Chaehyun Lim 1 participant 1 message Jun 11, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/9 staging: wilc1000: remove UWORD8

Use u8 instead of UWORD8.

---
V4: rebased on the top of staging-testing
V3: capitalize the name on the From and the Signed-off-by
V2: remove the definition of UWORD8

 drivers/staging/wilc1000/coreconfigurator.c | 2 +-
 drivers/staging/wilc1000/host_interface.c   | 2 +-
 drivers/staging/wilc1000/itypes.h           | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/coreconfigurator.c +1 -1
index 3a6c5ba..339b2a5 100644
@@ -499,7 +499,7 @@ INLINE WILC_Uint32 get_beacon_timestamp_lo(u8 *data)
 	return time_stamp;
 }
 
-INLINE UWORD32 get_beacon_timestamp_hi(UWORD8 *data)
+INLINE UWORD32 get_beacon_timestamp_hi(u8 *data)
 {
 	UWORD32 time_stamp = 0;
 	UWORD32 index    = (MAC_HDR_LEN + 4);
drivers/staging/wilc1000/host_interface.c +1 -1
index 1ecb373..b2bbb45 100644
@@ -3692,7 +3692,7 @@ static void Handle_DelAllSta(void *drvHandler, tstrHostIFDelAllSta *pstrDelAllSt
 	u8 *pu8CurrByte;
 	tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)drvHandler;
 	u8 i;
-	UWORD8 au8Zero_Buff[6] = {0};
+	u8 au8Zero_Buff[6] = {0};
 	strWID.u16WIDid = (WILC_Uint16)WID_DEL_ALL_STA;
 	strWID.enuWIDtype = WID_STR;
 	strWID.s32ValueSize = (pstrDelAllStaParam->u8Num_AssocSta * ETH_ALEN) + 1;
drivers/staging/wilc1000/itypes.h +0 -1
index 6c2bd79..91c8f0d 100644
@@ -46,7 +46,6 @@ typedef short WORD16;
 typedef char WORD8;
 typedef unsigned int UWORD32;
 typedef unsigned short UWORD16;
-typedef unsigned char UWORD8;
 
 /*****************************************************************************/
 /* Enums                                                                     */
Signature · 1 line
1.9.1