forked from Minki/linux
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>
This commit is contained in:
parent
b9ed09b3bc
commit
b76e05869a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user