aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2021-11-13 14:35:51 +0800
committerKalle Valo <kvalo@codeaurora.org>2021-11-29 12:44:10 +0200
commitfa4408b0799a7d52ec0b28f97ab0a93401e8e83f (patch)
tree3ee2056be893bcfe7e20dbc82e758c11f4997848 /drivers/net/wireless/ti
parentrsi: Fix out-of-bounds read in rsi_read_pkt() (diff)
downloadlinux-dev-fa4408b0799a7d52ec0b28f97ab0a93401e8e83f.tar.xz
linux-dev-fa4408b0799a7d52ec0b28f97ab0a93401e8e83f.zip
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 <wangborong@cdjrlc.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20211113063551.257804-1-wangborong@cdjrlc.com
Diffstat (limited to 'drivers/net/wireless/ti')
-rw-r--r--drivers/net/wireless/ti/wlcore/sdio.c2
1 files changed, 1 insertions, 1 deletions
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;