On Tuesday 15 February 2011 16:37:06 Larry Finger wrote: > If any of the p54-based drivers are built with CONFIG_P54_LEDS not > defined, the following warning is generated: > > CC [M] drivers/net/wireless/p54/main.o > drivers/net/wireless/p54/main.c: In function âp54_register_commonâ: > drivers/net/wireless/p54/main.c:614:21: warning: unused variable âprivâ > > Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> > --- > > V2 - use __maybe_unused instead of conditional compilation well, there is a third option [use the priv in the dev_info) However, this approach is fine too. Regards, Chr BTW, John... What's your ?WG511? doing? -- 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