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:
6efaaf3
)
iwlwifi: mvm: BT Coex - remove shadowing variable
author
Johannes Berg
<
[email protected]
>
Fri, 25 Jul 2014 12:49:59 +0000
(14:49 +0200)
committer
Emmanuel Grumbach
<
[email protected]
>
Mon, 8 Sep 2014 06:16:55 +0000
(09:16 +0300)
The variable 'u32 mode' exists twice, the latter shadowing
the former - remove the latter since there's no need for
two variables.
Signed-off-by: Johannes Berg <
[email protected]
>
Signed-off-by: Emmanuel Grumbach <
[email protected]
>
drivers/net/wireless/iwlwifi/mvm/coex.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/mvm/coex.c
b/drivers/net/wireless/iwlwifi/mvm/coex.c
index 2291bbcaaeab8bfe57c3aa20f9409bab41ba4cef..75178f35f04231e42ddecbd08bc9fe3de0564c26 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/mvm/coex.c
+++ b/
drivers/net/wireless/iwlwifi/mvm/coex.c
@@
-585,8
+585,6
@@
int iwl_send_bt_init_conf(struct iwl_mvm *mvm)
lockdep_assert_held(&mvm->mutex);
if (unlikely(mvm->bt_force_ant_mode != BT_FORCE_ANT_DIS)) {
- u32 mode;
-
switch (mvm->bt_force_ant_mode) {
case BT_FORCE_ANT_BT:
mode = BT_COEX_BT;