]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iwlwifi: reduce IDI code ifdef
authorJohannes Berg <johannes.berg@intel.com>
Mon, 5 Mar 2012 19:24:34 +0000 (11:24 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Mar 2012 20:16:11 +0000 (15:16 -0500)
commitce9e80af4f2c5dffb0df470538573d473c91d540
tree975716127de250ce955a9b856d003dbb54f3ff86
parent706c4ff67cb86134a3a93413a595a7c5559b7cc2
iwlwifi: reduce IDI code ifdef

The code in the two branches of the #ifdef
is almost the same so move the common code
outside the #ifdef.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-pci.c