iwlwifi: pcie: gen2: minor code cleanups in byte table update
authorJohannes Berg <johannes.berg@intel.com>
Fri, 17 Apr 2020 10:21:40 +0000 (13:21 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 24 Apr 2020 13:38:09 +0000 (16:38 +0300)
commit161158d7af3f67b15ee681c2b26b99ba461da9a6
tree89570d05077e0d0e42284671e8375232a008f412
parent95a9e44f8fb2626e4d0cb642ae6b5f6f30c5fb58
iwlwifi: pcie: gen2: minor code cleanups in byte table update

One line should be indented less, otherwise it looks like it
belongs into the parentheses, which clearly it doesn't; also
some variables can move into their respective if branches.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200417131727.a4858aa0441b.I0e70e4a5493fe6b8db6390f9349ff0e7888ab240@changeid
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c