iwlwifi: pcie: tx: unify TFD unmapping
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jun 2018 08:04:44 +0000 (10:04 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 28 Sep 2018 05:57:25 +0000 (08:57 +0300)
commit7d50d76e308dc8f9bf1d8006b25bf88f81ce69df
treed43fd95001991f717f7bc09563a47414699da706
parent53f474e6a8d74d5dc0c3a015d889471f9a157685
iwlwifi: pcie: tx: unify TFD unmapping

When anything fails, we unmap the whole TFD in three different
places scattered throughout the code. Unify this to a single
place.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/tx.c