brcmfmac: Using zero instead of NULL
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 Oct 2012 18:13:07 +0000 (11:13 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Oct 2012 20:17:40 +0000 (16:17 -0400)
commit81118d165811581f2fe8a793f270e9961fc7e445
treee8fd2305795c51fdc8c8c2d86706842e899a8f3d
parent424749c75daf3611a68a49eca5940ac2b74e4406
brcmfmac: Using zero instead of NULL

Sparse complains that we use zero instead of NULL here.  In fact, the
initialization is wrong and should be removed.  Doing these kinds of
bogus initializations means that GCC can't detect unitialized variables
and leads to bugs.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c