From: Jason Wang Date: Sat, 13 Nov 2021 06:35:51 +0000 (+0800) Subject: wlcore: no need to initialise statics to false X-Git-Tag: block-5.17-2022-01-21~91^2~250^2~6 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=fa4408b0799a7d52ec0b28f97ab0a93401e8e83f;p=linux-2.6-block.git wlcore: no need to initialise statics to false Static variables do not need to be initialized to false. The compiler will do that. Signed-off-by: Jason Wang Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20211113063551.257804-1-wangborong@cdjrlc.com --- diff --git a/drivers/net/wireless/ti/wlcore/sdio.c b/drivers/net/wireless/ti/wlcore/sdio.c index 9fd8cf2d270c..72fc41ac83c0 100644 --- a/drivers/net/wireless/ti/wlcore/sdio.c +++ b/drivers/net/wireless/ti/wlcore/sdio.c @@ -26,7 +26,7 @@ #include "wl12xx_80211.h" #include "io.h" -static bool dump = false; +static bool dump; struct wl12xx_sdio_glue { struct device *dev;