summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAybuke Ozdemir <aybuke.147@gmail.com>2014-09-18 01:03:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-19 17:42:15 -0700
commit34c376fe07342e06f531504b01d3b953962e456c (patch)
tree26814a6d4ea24787c1bc867e53aab3b0b1ec46a8 /drivers
parentfcf1b73d08cd15912205f3b259ea81ccfde11970 (diff)
Staging: wlan-ng: Fix return in void function warning
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/wlan-ng/hfa384x_usb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index cac55c60d52d..898bde73c59a 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -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;
}
/*----------------------------------------------------------------