From: Gulsah Kose Date: Sun, 21 Sep 2014 13:44:49 +0000 (+0300) Subject: staging: rtl8821ae: Fixes unnecessary return warning. X-Git-Tag: v3.18-rc1~130^2~265 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b76e05869a6434b1af16880d1929230119f67b8b;p=karo-tx-linux.git 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 Acked-by: Daniel Baluta Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8821ae/base.c b/drivers/staging/rtl8821ae/base.c index dbf28cea20d2..35c3c3bc4245 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,