On Tue, Oct 7, 2008 at 9:50 AM, Rami Rosen <ramirose@xxxxxxxxx> wrote: > When CONFIG_IWLWIFI_DEBUG is not set and CONFIG_IWLWIFI is set, > we get this compilation warning: > /wireless-next-2.6/drivers/net/wireless/iwlwifi/iwl-agn-rs.c: In > function 'rs_free_sta': > /wireless-next-2.6/drivers/net/wireless/iwlwifi/iwl-agn-rs.c:2425: > warning: unused variable 'priv' > > This patch fixes it by adding __maybe_unused attribute. > > Signed-off-by: Rami Rosen <ramirose@xxxxxxxxx> > ACK -- 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