aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
diff options
context:
space:
mode:
authorLuca Coelho <[email protected]>2017-05-03 12:09:52 +0000
committerLuca Coelho <[email protected]>2017-06-23 09:02:58 +0000
commit1dad3e0a313c42f8ade19f6987aedb857c4d07d0 (patch)
tree35edc89f4c7aa870d133ea4bd3864194f0958d47 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c
parentiwlwifi: document transmit buffer bits better (diff)
downloadkernel-1dad3e0a313c42f8ade19f6987aedb857c4d07d0.tar.gz
kernel-1dad3e0a313c42f8ade19f6987aedb857c4d07d0.zip
iwlwifi: remove useless iwl_free_nvm_data() function
This function just calls kfree(), so it only obscures the code without bringing any benefits. Remove it. Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
index 4e66cc662120..fc2c607013fb 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
@@ -849,7 +849,7 @@ static void iwl_op_mode_mvm_stop(struct iwl_op_mode *op_mode)
iwl_phy_db_free(mvm->phy_db);
mvm->phy_db = NULL;
- iwl_free_nvm_data(mvm->nvm_data);
+ kfree(mvm->nvm_data);
for (i = 0; i < NVM_MAX_NUM_SECTIONS; i++)
kfree(mvm->nvm_sections[i].data);