bcma: drop unneeded initialization value
PATCH 1/1 bcma: drop unneeded initialization value
Do not initialise statics to 0
ERROR found by checkpatch.pl
Signed-off-by Sohaib Mohamed <[email protected]>
--- drivers/bcma/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bcma/main.c +1 -1
@@ -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);
Signature · 1 line
2.25.1
Quoted 4 lines · Sohaib Mohamed
Do not initialise statics to 0
ERROR found by checkpatch.plSigned-off-by Sohaib Mohamed <[email protected]>
Patch applied to wireless-drivers-next.git, thanks.
5668958f6a92 bcma: drop unneeded initialization value
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches