iwlwifi: pcie: remove some dead code
authorJohannes Berg <johannes.berg@intel.com>
Sat, 25 Apr 2020 10:04:52 +0000 (13:04 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 8 May 2020 06:52:51 +0000 (09:52 +0300)
commita8e82c36081e574c0c7bdc1b407a697465777069
treedc5236f43f6fab69898b9854eaf25aecd63c0b22
parent281277b206f03f8e66e6d5c151d75ac9c15e066d
iwlwifi: pcie: remove some dead code

We can never get into this code with a gen2/3 device, and therefore
don't need to allocate the byte count tables in a single contiguous
DMA region. Just WARN and bail out if something is misconfigured.

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.20200425130140.a748d33252ef.If2f5810016efb40b041f93fe8c6b4c251542e2f1@changeid
drivers/net/wireless/intel/iwlwifi/pcie/tx.c