remove plcp check for 3945, mark the function __maybe_unused Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@xxxxxxxxx> Cc: <stable@xxxxxxxxxx> # .35+: c91d015: iwl3945: remove plcp check Cc: stable@xxxxxxxxxx # 2.6.35+ --- drivers/net/wireless/iwlwifi/iwl-3945.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 3eb14fd..eb82341 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c @@ -408,7 +408,7 @@ static void iwl3945_accumulative_statistics(struct iwl_priv *priv, * When the plcp error is exceeding the thresholds, reset the radio * to improve the throughput. */ -static bool iwl3945_good_plcp_health(struct iwl_priv *priv, +static bool __maybe_unused iwl3945_good_plcp_health(struct iwl_priv *priv, struct iwl_rx_packet *pkt) { bool rc = true; -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html