Message ID | 20210930194920.15847-1-sohaib.amhmd@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5668958f6a9218bbab1afb0974f12e078ef55402 |
Delegated to: | Kalle Valo |
Headers | show |
Series | bcma: drop unneeded initialization value | expand |
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
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);
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(-)