Skip to contentSkip to conversation

staging: wilc1000: remove UWORD8

PATCH Superseded chaehyun lim 2 participants 2 messages Jun 4, 2015 – Jun 8, 2015

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 staging: wilc1000: remove UWORD8

Use u8 instead of UWORD8.

---
V2 : remove the defintion 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 01625bd..958cf0b 100644
@@ -498,7 +498,7 @@ INLINE WILC_Uint32 get_beacon_timestamp_lo(WILC_Uint8 *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 fcbadd1..8e00f71 100644
@@ -3692,7 +3692,7 @@ static void Handle_DelAllSta(void *drvHandler, tstrHostIFDelAllSta *pstrDelAllSt
 	WILC_Uint8 *pu8CurrByte;
 	tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)drvHandler;
 	WILC_Uint8 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