iwlwifi: mvm: BT Coex - remove shadowing variable
authorJohannes Berg <johannes.berg@intel.com>
Fri, 25 Jul 2014 12:49:59 +0000 (14:49 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
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 <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/coex.c

index 2291bbcaaeab8bfe57c3aa20f9409bab41ba4cef..75178f35f04231e42ddecbd08bc9fe3de0564c26 100644 (file)
@@ -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;