projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1cb347
)
wlcore: no need to initialise statics to false
author
Jason Wang
<wangborong@cdjrlc.com>
Sat, 13 Nov 2021 06:35:51 +0000
(14:35 +0800)
committer
Kalle Valo
<kvalo@codeaurora.org>
Mon, 29 Nov 2021 10:44:10 +0000
(12:44 +0200)
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
drivers/net/wireless/ti/wlcore/sdio.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ti/wlcore/sdio.c
b/drivers/net/wireless/ti/wlcore/sdio.c
index
9fd8cf2
..
72fc41a
100644
(file)
--- 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;