From: Daniel Machon Date: Mon, 6 Jul 2015 17:48:04 +0000 (+0200) Subject: wilc1000: host_interface.c: global variables do not need to be explicitly initialized... X-Git-Tag: v4.3-rc1~158^2~753 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6fdb302c1d996d2e0c1c527aa6f54a04ee80a0d8;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 483926f28436..c089e739465a 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