[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210930194920.15847-1-sohaib.amhmd@gmail.com>
Date: Thu, 30 Sep 2021 21:49:20 +0200
From: Sohaib Mohamed <sohaib.amhmd@...il.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Sohaib Mohamed <sohaib.amhmd@...il.com>,
Rafał Miłecki <zajec5@...il.com>,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] bcma: drop unneeded initialization value
Do not initialise statics to 0
ERROR found by checkpatch.pl
Signed-off-by: Sohaib Mohamed <sohaib.amhmd@...il.com>
---
drivers/bcma/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
2.25.1
Powered by blists - more mailing lists