Re: [PATCH] leds: always true: (x != 1 || x != 2)

From: Roland Dreier
Date: Fri Feb 06 2009 - 13:06:18 EST


> - if (type != EV_SND && (code != SND_BELL || code != SND_TONE))
> + if (type != EV_SND && (code != SND_BELL && code != SND_TONE))

Actually more likely seems to be

if (type != EV_SND || (code != SND_BELL && code != SND_TONE))
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/