Skip to contentSkip to conversation

staging : wilc1000 : remove WILC_Sint16

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

Subsystems (2)

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 6/8 staging : wilc1000 : remove WILC_Sint16

Use s16 in stead of WILC_Sint16.

---
 drivers/staging/wilc1000/coreconfigurator.c | 2 +-
 drivers/staging/wilc1000/wilc_oswrapper.h   | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/staging/wilc1000/coreconfigurator.c +1 -1
index 50d184c..a060172 100644
@@ -173,7 +173,7 @@ static tstrConfigPktInfo gstrConfigPktInfo;
 
 static u8 g_seqno;
 
-static WILC_Sint16 g_wid_num          = -1;
+static s16 g_wid_num          = -1;
 
 static u16 Res_Len;
 
drivers/staging/wilc1000/wilc_oswrapper.h +0 -1
index fc09416..dafcfec 100644
@@ -14,7 +14,6 @@
 #define WILC_OSW_INTERFACE_VER 2
 
 /* Integer Types */
-typedef signed short WILC_Sint16;
 typedef signed int WILC_Sint32;
 typedef signed long long WILC_Sint64;
 
Signature · 1 line
1.9.1
#1 lore raw

Your subjects have too many spaces.

Quoted 13 lines · chaehyun lim

Use s16 in stead of WILC_Sint16.

---
 drivers/staging/wilc1000/coreconfigurator.c | 2 +-
 drivers/staging/wilc1000/wilc_oswrapper.h   | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/staging/wilc1000/coreconfigurator.c +0 -0
index 50d184c..a060172 100644

drivers/staging/wilc1000/coreconfigurator.c static tstrConfigPktInfo gstrConfigPktInfo; · line 176

Quoted 5 lines
drivers/staging/wilc1000/coreconfigurator.c +1 -1
@@ -173,7 +173,7 @@ static tstrConfigPktInfo gstrConfigPktInfo;
 
 static u8 g_seqno;
 
-static WILC_Sint16 g_wid_num          = -1;
+static s16 g_wid_num          = -1;

g_wid_num is never set to anything besides -1.

TODO-list: wilc1000: get rid of g_wid_num

regards,
dan carpenter