aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h
index d8fc548c0d6c..0768f83e709d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans.h
+++ b/drivers/net/wireless/iwlwifi/iwl-trans.h
@@ -535,9 +535,7 @@ struct iwl_trans_ops {
535 void (*ref)(struct iwl_trans *trans); 535 void (*ref)(struct iwl_trans *trans);
536 void (*unref)(struct iwl_trans *trans); 536 void (*unref)(struct iwl_trans *trans);
537 537
538#ifdef CONFIG_IWLWIFI_DEBUGFS
539 struct iwl_trans_dump_data *(*dump_data)(struct iwl_trans *trans); 538 struct iwl_trans_dump_data *(*dump_data)(struct iwl_trans *trans);
540#endif
541}; 539};
542 540
543/** 541/**
@@ -704,7 +702,6 @@ static inline void iwl_trans_unref(struct iwl_trans *trans)
704 trans->ops->unref(trans); 702 trans->ops->unref(trans);
705} 703}
706 704
707#ifdef CONFIG_IWLWIFI_DEBUGFS
708static inline struct iwl_trans_dump_data * 705static inline struct iwl_trans_dump_data *
709iwl_trans_dump_data(struct iwl_trans *trans) 706iwl_trans_dump_data(struct iwl_trans *trans)
710{ 707{
@@ -712,7 +709,6 @@ iwl_trans_dump_data(struct iwl_trans *trans)
712 return NULL; 709 return NULL;
713 return trans->ops->dump_data(trans); 710 return trans->ops->dump_data(trans);
714} 711}
715#endif
716 712
717static inline int iwl_trans_send_cmd(struct iwl_trans *trans, 713static inline int iwl_trans_send_cmd(struct iwl_trans *trans,
718 struct iwl_host_cmd *cmd) 714 struct iwl_host_cmd *cmd)