mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
6a686c6002
commit
397ede37a4
|
@ -34,7 +34,6 @@
|
||||||
#include <net/mac80211.h>
|
#include <net/mac80211.h>
|
||||||
|
|
||||||
#include "iwl-eeprom.h"
|
#include "iwl-eeprom.h"
|
||||||
#include "iwl-dev.h" /* FIXME: remove */
|
|
||||||
#include "iwl-debug.h"
|
#include "iwl-debug.h"
|
||||||
#include "iwl-core.h"
|
#include "iwl-core.h"
|
||||||
#include "iwl-io.h"
|
#include "iwl-io.h"
|
||||||
|
|
|
@ -30,8 +30,6 @@
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
#include <linux/sched.h>
|
#include <linux/sched.h>
|
||||||
|
|
||||||
/* TODO: remove include to iwl-dev.h */
|
|
||||||
#include "iwl-dev.h"
|
|
||||||
#include "iwl-debug.h"
|
#include "iwl-debug.h"
|
||||||
#include "iwl-csr.h"
|
#include "iwl-csr.h"
|
||||||
#include "iwl-prph.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);
|
HOST_COMPLETE_TIMEOUT);
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
if (test_bit(STATUS_HCMD_ACTIVE, &trans->shrd->status)) {
|
if (test_bit(STATUS_HCMD_ACTIVE, &trans->shrd->status)) {
|
||||||
struct iwl_priv *priv = priv(trans);
|
|
||||||
struct iwl_tx_queue *txq =
|
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;
|
struct iwl_queue *q = &txq->q;
|
||||||
|
|
||||||
IWL_ERR(trans,
|
IWL_ERR(trans,
|
||||||
|
|
Loading…
Reference in New Issue