Skip to contentSkip to conversation

staging: wilc1000: Fixed a return coding style warning.

PATCH New Rakhi Sharma 1 participant 1 message Feb 13, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: wilc1000: Fixed a return coding style warning.

Remove unneeded return at the end of void function,as warning generted by checkpatch.
WARNING: void function return statements are not generally useful.

---
Changes in v2:
-Remove blank line and replace unusefull by unneeded in commit message.

 drivers/staging/wilc1000/linux_wlan.c | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/wilc1000/linux_wlan.c +0 -2
index 54fe9d7..1d2382d 100644
@@ -1119,8 +1119,6 @@ static void wilc_set_multicast_list(struct net_device *dev)
 	}
 
 	wilc_setup_multicast_filter(vif, true, (dev->mc.count));
-
-	return;
 }
 
 static void linux_wlan_tx_complete(void *priv, int status)
Signature · 1 line
1.9.1