iwlwifi: use direct calls for transport free
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 Apr 2012 13:24:30 +0000 (06:24 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 23 Apr 2012 21:30:29 +0000 (14:30 -0700)
commitd1ff52536a0d1bd516a628ef43dfaf6fe9c90fe2
treebb50fc848b14272b472e9db65b2a793e93069914
parent0db19cde17ece4695cec503f9f6f0a1d4621dac7
iwlwifi: use direct calls for transport free

Since the transport allocates and frees itself in
the transport specific code, there's no need for
virtual functions for it. Remove the free method
and call the correct functions directly.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-pci.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
drivers/net/wireless/iwlwifi/iwl-trans.h