Commit f2f1ba25 authored by Rami Rosen's avatar Rami Rosen Committed by John W. Linville

iwlwifi: fix build warning (iwl-rx.c)

This patch fixes the following build warning when CONFIG_IWLWIFI_DEBUG
is not set.

/work/src/wireless-testing/drivers/net/wireless/iwlwifi/iwl-rx.c:758:
warning: 'iwl_dbg_report_frame' defined but not used
Signed-off-by: default avatarRami Rosen <ramirose@gmail.com>
Acked-by: default avatarReinette Chatre <reinette.chatre@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent ab1f5c0b
...@@ -751,12 +751,6 @@ static void iwl_dbg_report_frame(struct iwl_priv *priv, ...@@ -751,12 +751,6 @@ static void iwl_dbg_report_frame(struct iwl_priv *priv,
if (print_dump) if (print_dump)
iwl_print_hex_dump(priv, IWL_DL_RX, header, length); iwl_print_hex_dump(priv, IWL_DL_RX, header, length);
} }
#else
static void iwl_dbg_report_frame(struct iwl_priv *priv,
struct iwl_rx_phy_res *phy_res, u16 length,
struct ieee80211_hdr *header, int group100)
{
}
#endif #endif
static void iwl_update_rx_stats(struct iwl_priv *priv, u16 fc, u16 len) static void iwl_update_rx_stats(struct iwl_priv *priv, u16 fc, u16 len)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment