]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: rtl8192ee: Removed unnecessary return statement.
authorHeena Sirwani <heenasirwani@gmail.com>
Wed, 24 Sep 2014 06:37:16 +0000 (12:07 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 02:34:57 +0000 (22:34 -0400)
The following patch removes the checkpatch.pl warning:
WARNING: void function return statements are generally not useful.

Signed-off-by: Heena Sirwani <heenasirwani@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192ee/base.c

index 8b65454df57c73fe380d3b93596d53675cd4d574..5262a63d5a69ee3fc61fa778344f5af5486095a5 100644 (file)
@@ -622,8 +622,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,