Staging: wlan-ng: Fix return in void function warning
authorAybuke Ozdemir <aybuke.147@gmail.com>
Wed, 17 Sep 2014 22:03:28 +0000 (01:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 00:42:15 +0000 (17:42 -0700)
This fixes checkpatch.pl warning:
WARNING: void function return statements are not generally useful

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c

index cac55c60d52d873a3e8f6419acd34988b6883967..898bde73c59a4a48422ec2536f9f1cec850038a0 100644 (file)
@@ -3530,8 +3530,6 @@ static void hfa384x_usbin_rx(wlandevice_t *wlandev, struct sk_buff *skb)
                                    usbin->rxfrm.desc.status));
                break;
        }
-
-       return;
 }
 
 /*----------------------------------------------------------------
@@ -3641,8 +3639,6 @@ static void hfa384x_int_rxmonitor(wlandevice_t *wlandev,
 
        /* pass it back up */
        prism2sta_ev_rx(wlandev, skb);
-
-       return;
 }
 
 /*----------------------------------------------------------------