linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bcma: drop unneeded initialization value
@ 2021-09-30 19:49 Sohaib Mohamed
  2021-10-05  5:32 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Sohaib Mohamed @ 2021-09-30 19:49 UTC (permalink / raw)
  Cc: Sohaib Mohamed, Rafał Miłecki, linux-wireless, linux-kernel

Do not initialise statics to 0
ERROR found by checkpatch.pl

Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bcma: drop unneeded initialization value
  2021-09-30 19:49 [PATCH] bcma: drop unneeded initialization value Sohaib Mohamed
@ 2021-10-05  5:32 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2021-10-05  5:32 UTC (permalink / raw)
  To: Sohaib Mohamed

Sohaib Mohamed <sohaib.amhmd@gmail.com> wrote:

> Do not initialise statics to 0
> ERROR found by checkpatch.pl
> 
> Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>

Patch applied to wireless-drivers-next.git, thanks.

5668958f6a92 bcma: drop unneeded initialization value

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210930194920.15847-1-sohaib.amhmd@gmail.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-05  5:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30 19:49 [PATCH] bcma: drop unneeded initialization value Sohaib Mohamed
2021-10-05  5:32 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).