Commit b76e0586 authored by Gulsah Kose's avatar Gulsah Kose Committed by Greg Kroah-Hartman

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: default avatarGulsah Kose <gulsah.1004@gmail.com>
Acked-by: default avatarDaniel Baluta <daniel.baluta@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9ed09b3
...@@ -542,8 +542,6 @@ static void _rtl_qurey_shortpreamble_mode(struct ieee80211_hw *hw, ...@@ -542,8 +542,6 @@ static void _rtl_qurey_shortpreamble_mode(struct ieee80211_hw *hw,
return; return;
else if (rate_flag & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) else if (rate_flag & IEEE80211_TX_RC_USE_SHORT_PREAMBLE)
tcb_desc->use_shortpreamble = true; tcb_desc->use_shortpreamble = true;
return;
} }
static void _rtl_query_shortgi(struct ieee80211_hw *hw, static void _rtl_query_shortgi(struct ieee80211_hw *hw,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment