summaryrefslogtreecommitdiff
path: root/drivers/bcma
diff options
context:
space:
mode:
authorSohaib Mohamed <sohaib.amhmd@gmail.com>2021-09-30 22:49:20 +0300
committerKalle Valo <kvalo@codeaurora.org>2021-10-05 08:32:30 +0300
commit5668958f6a9218bbab1afb0974f12e078ef55402 (patch)
tree9349d82ede8722704bdbf9ad43aa451c84f65400 /drivers/bcma
parent49c3eb3036e6359c5c20fe76c611a2c0e0d4710e (diff)
downloadlinux-5668958f6a9218bbab1afb0974f12e078ef55402.tar.xz
bcma: drop unneeded initialization value
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
Diffstat (limited to 'drivers/bcma')
-rw-r--r--drivers/bcma/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c
index c6d6ba0d00b1..8e7ca3e4c8c4 100644
--- 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);