diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-07-25 14:49:59 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-09-08 09:16:55 +0300 |
commit | 787d6c1f17eae41429d35eb0f1b38f44659f5f1d (patch) | |
tree | d918321273ce4374b83c9b4976b43d10118f61a6 /drivers/net/wireless | |
parent | 6efaaf33bece53a842cb1cc71971a05216d81473 (diff) | |
download | op-kernel-dev-787d6c1f17eae41429d35eb0f1b38f44659f5f1d.zip op-kernel-dev-787d6c1f17eae41429d35eb0f1b38f44659f5f1d.tar.gz |
iwlwifi: mvm: BT Coex - remove shadowing variable
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 <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/coex.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/coex.c b/drivers/net/wireless/iwlwifi/mvm/coex.c index 2291bbc..75178f3 100644 --- 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; |