Skip to contentSkip to conversation

staging: ks7010: ks_wlan_net: Remove return statement from void function

PATCH New Georgiana Rodica Chelu 1 participant 1 message Sep 24, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: ks7010: ks_wlan_net: Remove return statement from void function

Remove the return statement from the end of a void function to clean up the code.

Issue found by checkpatch.pl script.

---
 drivers/staging/ks7010/ks_wlan_net.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/staging/ks7010/ks_wlan_net.c +0 -4
index 9ef44cc..6bd7370 100644
@@ -3349,8 +3349,6 @@ void ks_wlan_tx_timeout(struct net_device *dev)
 	}
 	priv->nstats.tx_errors++;
 	netif_wake_queue(dev);
-
-	return;
 }
 
 static
@@ -3416,8 +3414,6 @@ void ks_wlan_set_multicast_list(struct net_device *dev)
 		return;	/* not finished initialize */
 	}
 	hostif_sme_enqueue(priv, SME_MULTICAST_REQUEST);
-
-	return;
 }
 
 static
Signature · 1 line
2.7.4