Arik Nemtsov <arik@xxxxxxxxxx> writes: > + if (!wl1271_is_active_sta(wl, hlid)) { > + WARN_ON(1); > + return; > + } I think this is neater: if (WARN_ON(!wl1271_is_active_sta(wl, hlid)) return; -- Kalle Valo -- 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