diff options
author | Emmanuel Grumbach | 2011-10-10 16:27:18 +0200 |
---|---|---|
committer | John W. Linville | 2011-10-14 20:48:14 +0200 |
commit | 397ede37a4defbe0000f2cc994fe9b7225f33c89 (patch) | |
tree | 18af4316eb9699b808be9e47c117efa211aaec9f /drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c | |
parent | iwlagn: move iwl_enable_rfkill_int and kill iwl-helpers.h (diff) | |
download | kernel-qcow2-linux-397ede37a4defbe0000f2cc994fe9b7225f33c89.tar.gz kernel-qcow2-linux-397ede37a4defbe0000f2cc994fe9b7225f33c89.tar.xz kernel-qcow2-linux-397ede37a4defbe0000f2cc994fe9b7225f33c89.zip |
iwlagn: remove uneeded include to iwl-dev.h
iwl-core.c and iwl-trans-pcie-tx.c don't need to include iwl-dev.h
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c index 0d7803b85af3..4a0c95302a7e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c @@ -30,8 +30,6 @@ #include <linux/slab.h> #include <linux/sched.h> -/* TODO: remove include to iwl-dev.h */ -#include "iwl-dev.h" #include "iwl-debug.h" #include "iwl-csr.h" #include "iwl-prph.h" @@ -1020,9 +1018,8 @@ static int iwl_send_cmd_sync(struct iwl_trans *trans, struct iwl_host_cmd *cmd) HOST_COMPLETE_TIMEOUT); if (!ret) { if (test_bit(STATUS_HCMD_ACTIVE, &trans->shrd->status)) { - struct iwl_priv *priv = priv(trans); struct iwl_tx_queue *txq = - &trans_pcie->txq[priv->shrd->cmd_queue]; + &trans_pcie->txq[trans->shrd->cmd_queue]; struct iwl_queue *q = &txq->q; IWL_ERR(trans, |