summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGulsah Kose <gulsah.1004@gmail.com>2014-09-21 13:44:49 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-23 20:19:38 (GMT)
commitb76e05869a6434b1af16880d1929230119f67b8b (patch)
treee91e15d5f248ea90cb35d857da156a2107e3a9b0 /drivers
parentb9ed09b3bc2f40d83f90dd563d27d9877be1d1b1 (diff)
downloadlinux-b76e05869a6434b1af16880d1929230119f67b8b.tar.xz
staging: rtl8821ae: Fixes unnecessary return warning.
This patch fixes "void function return statements are not generally useful" checkpatch.pl warning in base.c Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Acked-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8821ae/base.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8821ae/base.c b/drivers/staging/rtl8821ae/base.c
index dbf28ce..35c3c3b 100644
--- a/drivers/staging/rtl8821ae/base.c
+++ b/drivers/staging/rtl8821ae/base.c
@@ -542,8 +542,6 @@ static void _rtl_qurey_shortpreamble_mode(struct ieee80211_hw *hw,
return;
else if (rate_flag & IEEE80211_TX_RC_USE_SHORT_PREAMBLE)
tcb_desc->use_shortpreamble = true;
-
- return;
}
static void _rtl_query_shortgi(struct ieee80211_hw *hw,