iwlwifi: remove iwl_reset_traffic_log from shared
It is op_mode related Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
This commit is contained in:
parent
3e6895c50a
commit
4d660ce52e
2 changed files with 2 additions and 4 deletions
|
@ -197,6 +197,8 @@ const char *get_ctrl_string(int cmd);
|
||||||
void iwl_clear_traffic_stats(struct iwl_priv *priv);
|
void iwl_clear_traffic_stats(struct iwl_priv *priv);
|
||||||
void iwl_update_stats(struct iwl_priv *priv, bool is_tx, __le16 fc,
|
void iwl_update_stats(struct iwl_priv *priv, bool is_tx, __le16 fc,
|
||||||
u16 len);
|
u16 len);
|
||||||
|
void iwl_reset_traffic_log(struct iwl_priv *priv);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
static inline int iwl_alloc_traffic_mem(struct iwl_priv *priv)
|
static inline int iwl_alloc_traffic_mem(struct iwl_priv *priv)
|
||||||
{
|
{
|
||||||
|
|
|
@ -553,10 +553,6 @@ void __releases(wait_entry)
|
||||||
iwl_remove_notification(struct iwl_shared *shrd,
|
iwl_remove_notification(struct iwl_shared *shrd,
|
||||||
struct iwl_notification_wait *wait_entry);
|
struct iwl_notification_wait *wait_entry);
|
||||||
|
|
||||||
#ifdef CONFIG_IWLWIFI_DEBUGFS
|
|
||||||
void iwl_reset_traffic_log(struct iwl_priv *priv);
|
|
||||||
#endif /* CONFIG_IWLWIFI_DEBUGFS */
|
|
||||||
|
|
||||||
#define IWL_CMD(x) case x: return #x
|
#define IWL_CMD(x) case x: return #x
|
||||||
#define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo))))
|
#define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue