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 cac55c6..898bde7 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;
 }
 
 /*----------------------------------------------------------------