staging: ks7010: ks_wlan_net: Remove return statement from void function
authorGeorgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Sat, 24 Sep 2016 19:49:02 +0000 (22:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Sep 2016 10:37:14 +0000 (12:37 +0200)
Remove the return statement from the end of a void function
to clean up the code.

Issue found by checkpatch.pl script.

Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c

index d13a06bf4f6b80ba50983c8b6af527e3c5aa80c1..9e2bdd6f1ded75b388d3c19a499d1477494ac40d 100644 (file)
@@ -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