projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ca67e
)
Staging: rtl8192ee: Removed unnecessary return statement.
author
Heena Sirwani
<
[email protected]
>
Wed, 24 Sep 2014 06:37:16 +0000
(12:07 +0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
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 <
[email protected]
>
Acked-by: Daniel Baluta <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/rtl8192ee/base.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8192ee/base.c
b/drivers/staging/rtl8192ee/base.c
index 8b65454df57c73fe380d3b93596d53675cd4d574..5262a63d5a69ee3fc61fa778344f5af5486095a5 100644
(file)
--- a/
drivers/staging/rtl8192ee/base.c
+++ b/
drivers/staging/rtl8192ee/base.c
@@
-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,