From 34c376fe07342e06f531504b01d3b953962e456c Mon Sep 17 00:00:00 2001 From: Aybuke Ozdemir Date: Thu, 18 Sep 2014 01:03:28 +0300 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wlan-ng/hfa384x_usb.c | 4 ---- 1 file changed, 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; } /*---------------------------------------------------------------- -- 2.39.5