Skip to content

Commit

Permalink
iwlagn: remove uneeded include to iwl-dev.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emmanuel Grumbach authored and John W. Linville committed Oct 14, 2011
1 parent 6a686c6 commit 397ede3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion drivers/net/wireless/iwlwifi/iwl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <net/mac80211.h>

#include "iwl-eeprom.h"
#include "iwl-dev.h" /* FIXME: remove */
#include "iwl-debug.h"
#include "iwl-core.h"
#include "iwl-io.h"
Expand Down
5 changes: 1 addition & 4 deletions drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 397ede3

Please sign in to comment.