Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 787d6c1f authored by Johannes Berg's avatar Johannes Berg Committed by Emmanuel Grumbach
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 6efaaf33
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -585,8 +585,6 @@ int iwl_send_bt_init_conf(struct iwl_mvm *mvm)
	lockdep_assert_held(&mvm->mutex);
	lockdep_assert_held(&mvm->mutex);


	if (unlikely(mvm->bt_force_ant_mode != BT_FORCE_ANT_DIS)) {
	if (unlikely(mvm->bt_force_ant_mode != BT_FORCE_ANT_DIS)) {
		u32 mode;

		switch (mvm->bt_force_ant_mode) {
		switch (mvm->bt_force_ant_mode) {
		case BT_FORCE_ANT_BT:
		case BT_FORCE_ANT_BT:
			mode = BT_COEX_BT;
			mode = BT_COEX_BT;