All of lore.kernel.org
 help / color / mirror / Atom feed
* [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.
@ 2015-07-06 17:48 Daniel Machon
  0 siblings, 0 replies; only message in thread
From: Daniel Machon @ 2015-07-06 17:48 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless, linux-kernel

Fixed explicit initialization of global pointer variable.

Signed-off-by: Daniel Machon <dmachon.dev@gmail.com>
---
 drivers/staging/wilc1000/host_interface.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 6b10bbb..209dd9c 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
-- 
2.1.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-06 17:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-06 17:48 [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 Daniel Machon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.