summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/host_interface.c
diff options
context:
space:
mode:
authorDaniel Machon <dmachon.dev@gmail.com>2015-07-06 19:48:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-06 19:33:51 -0700
commit6fdb302c1d996d2e0c1c527aa6f54a04ee80a0d8 (patch)
treecc09d7fe748b2e8f9359848d9d1034c88d80fbc8 /drivers/staging/wilc1000/host_interface.c
parent137b9938849901f8e402da15736125b0a0bd2477 (diff)
downloadop-kernel-dev-6fdb302c1d996d2e0c1c527aa6f54a04ee80a0d8.zip
op-kernel-dev-6fdb302c1d996d2e0c1c527aa6f54a04ee80a0d8.tar.gz
wilc1000: host_interface.c: global variables do not need to be explicitly initialized to 0 or NULL.
Fixed explicit initialization of global pointer variable. GCC takes care of this implicitly. Signed-off-by: Daniel Machon <dmachon.dev@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r--drivers/staging/wilc1000/host_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 483926f..c089e73 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -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
OpenPOWER on IntegriCloud