iwlwifi: dbg_ini: remove redundant checking of ini mode
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Tue, 12 Feb 2019 12:47:08 +0000 (14:47 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 29 Jun 2019 07:09:42 +0000 (10:09 +0300)
commit1d45a700dfb427626bec6829c0d8fe5a1f10435f
tree24415de6ae143e747b9eb5dade10c648f4c24417
parent427ab6385cf302b35ea1dc53ebca938e0a8328b9
iwlwifi: dbg_ini: remove redundant checking of ini mode

There are several flows where the driver checks if it runs in ini mode.
Some of these flows are no longer used in ini mode or there is another
condition that check the ini mode in the same flow. Either way, those
conditions are redundant. Remove the redundant conditions.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/fw/dbg.h
drivers/net/wireless/intel/iwlwifi/pcie/trans.c