Skip to contentSkip to conversation

wilc1000: host_interface.c: global variables do not need to be explicitly initialized to 0 or NULL. GCC takes care of this implicitly.

PATCH New Daniel Machon 1 participant 1 message Jul 6, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 wilc1000: host_interface.c: global variables do not need to be explicitly initialized to 0 or NULL. GCC takes care of this implicitly.

Fixed explicit initialization of global pointer variable.

---
 drivers/staging/wilc1000/host_interface.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
index 6b10bbb..209dd9c 100644
@@ -534,8 +534,8 @@ typedef enum {
 /*****************************************************************************/
 
 
-tstrWILC_WFIDrv *terminated_handle = NULL;
-tstrWILC_WFIDrv *gWFiDrvHandle = NULL;
+tstrWILC_WFIDrv *terminated_handle;
+tstrWILC_WFIDrv *gWFiDrvHandle;
 #ifdef DISABLE_PWRSAVE_AND_SCAN_DURING_IP
 bool g_obtainingIP = false;
 #endif
Signature · 1 line
2.1.4