Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH ] iwlwifi: fix build warning (iwl-rx.c)
@ 2008-12-11 12:29 Rami Rosen
  2008-12-11 17:16 ` reinette chatre
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2008-12-11 12:29 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, reinette.chatre

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


(wireless-testing).

Signed-off-by: Rami Rosen <ramirose@gmail.com>

diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c
b/drivers/net/wireless/iwlwifi/iwl-rx.c
index 0965232..71a2a51 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,
 	if (print_dump)
 		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

 static void iwl_update_rx_stats(struct iwl_priv *priv, u16 fc, u16 len)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-11 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-11 12:29 [PATCH ] iwlwifi: fix build warning (iwl-rx.c) Rami Rosen
2008-12-11 17:16 ` reinette chatre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox