From b76e05869a6434b1af16880d1929230119f67b8b Mon Sep 17 00:00:00 2001 From: Gulsah Kose Date: Sun, 21 Sep 2014 16:44:49 +0300 Subject: [PATCH] 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 --- drivers/staging/rtl8821ae/base.c | 2 -- 1 file changed, 2 deletions(-) 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, -- 2.20.1