summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2017-04-11 14:46:35 +0300
committerLuca Coelho <luciano.coelho@intel.com>2017-04-11 14:54:39 +0300
commit1ea423b0e047757dea80d5d968a25aa44af51273 (patch)
tree28de05f21fbd3f6a77b041d6cc24e4a01d8b96ed /drivers/net/wireless/intel/iwlwifi/pcie/trans.c
parentbdccdb854f2fb473f2ac4a6108df3cbfcedd5a87 (diff)
downloadtalos-obmc-linux-1ea423b0e047757dea80d5d968a25aa44af51273.tar.gz
talos-obmc-linux-1ea423b0e047757dea80d5d968a25aa44af51273.zip
iwlwifi: remove unnecessary dev_cmd_headroom parameter
We don't need this parameter anymore, since we always pass 0 anyway. Remove it from the structure and from all the relevant functions. Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/pcie/trans.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/pcie/trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
index 15bf5100d096..b362779b66f4 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
@@ -2948,7 +2948,7 @@ struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev,
return ERR_PTR(ret);
trans = iwl_trans_alloc(sizeof(struct iwl_trans_pcie),
- &pdev->dev, cfg, &trans_ops_pcie, 0);
+ &pdev->dev, cfg, &trans_ops_pcie);
if (!trans)
return ERR_PTR(-ENOMEM);
OpenPOWER on IntegriCloud