iwlwifi: fix build warning (iwl-rx.c)
authorRami Rosen <ramirose@gmail.com>
Thu, 11 Dec 2008 12:29:06 +0000 (14:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Dec 2008 19:45:29 +0000 (14:45 -0500)
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>
drivers/net/wireless/iwlwifi/iwl-rx.c

index 096523200327f78c4815cbf1428b3261ea62c982..71a2a515ce15c325f3dde91f02fb94d9e7a4ce32 100644 (file)
@@ -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)