projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49c3eb3
)
bcma: drop unneeded initialization value
author
Sohaib Mohamed
<sohaib.amhmd@gmail.com>
Thu, 30 Sep 2021 19:49:20 +0000
(21:49 +0200)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 5 Oct 2021 05:32:30 +0000
(08:32 +0300)
Do not initialise statics to 0
ERROR found by checkpatch.pl
Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link:
https://lore.kernel.org/r/20210930194920.15847-1-sohaib.amhmd@gmail.com
drivers/bcma/main.c
patch
|
blob
|
history
diff --git
a/drivers/bcma/main.c
b/drivers/bcma/main.c
index c6d6ba0d00b1ed2250e31eadb7f5a6ba9c158872..8e7ca3e4c8c49d661a3d7f26b99f89ed4d8845c4 100644
(file)
--- a/
drivers/bcma/main.c
+++ b/
drivers/bcma/main.c
@@
-20,7
+20,7
@@
MODULE_DESCRIPTION("Broadcom's specific AMBA driver");
MODULE_LICENSE("GPL");
/* contains the number the next bus should get. */
-static unsigned int bcma_bus_next_num
= 0
;
+static unsigned int bcma_bus_next_num;
/* bcma_buses_mutex locks the bcma_bus_next_num */
static DEFINE_MUTEX(bcma_buses_mutex);