diff options
author | Rami Rosen <ramirose@gmail.com> | 2008-12-11 07:29:06 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 14:45:29 -0500 |
commit | f2f1ba253d970479343f97c4620e16842c695d03 (patch) | |
tree | ac5b92a3169e2660eb6fda787b7c02e18beae1be /drivers/net | |
parent | ab1f5c0bb8edbaee81c1672733f8dc4d0a5f5ea5 (diff) |
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: Rami Rosen <ramirose@gmail.com>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index 096523200327..71a2a515ce15 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c | |||
@@ -751,12 +751,6 @@ static void iwl_dbg_report_frame(struct iwl_priv *priv, | |||
751 | if (print_dump) | 751 | if (print_dump) |
752 | iwl_print_hex_dump(priv, IWL_DL_RX, header, length); | 752 | iwl_print_hex_dump(priv, IWL_DL_RX, header, length); |
753 | } | 753 | } |
754 | #else | ||
755 | static void iwl_dbg_report_frame(struct iwl_priv *priv, | ||
756 | struct iwl_rx_phy_res *phy_res, u16 length, | ||
757 | struct ieee80211_hdr *header, int group100) | ||
758 | { | ||
759 | } | ||
760 | #endif | 754 | #endif |
761 | 755 | ||
762 | static void iwl_update_rx_stats(struct iwl_priv *priv, u16 fc, u16 len) | 756 | static void iwl_update_rx_stats(struct iwl_priv *priv, u16 fc, u16 len) |