Re: [PATCH] v4l: Cleanup redundant tests on unsigned
From: Roel Kluin
Date: Fri Oct 23 2009 - 09:59:52 EST
Op 23-10-09 12:59, Roel Kluin schreef:
> The variables are unsigned so the test `>= 0' is always true,
> the `< 0' test always fails. In these cases the other part of
> the test catches wrapped values.
>
> Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx>
> ---
I forgot the stats:
drivers/media/common/tuners/tda9887.c | 2 +-
drivers/media/dvb/siano/smscoreapi.c | 2 +-
drivers/media/video/bt819.c | 2 +-
drivers/media/video/hexium_gemini.c | 2 +-
drivers/media/video/hexium_orion.c | 2 +-
drivers/media/video/mxb.c | 2 +-
drivers/media/video/s2255drv.c | 2 +-
drivers/media/video/saa7110.c | 2 +-
drivers/media/video/saa717x.c | 2 +-
drivers/media/video/tuner-core.c | 2 +-
drivers/media/video/usbvision/usbvision-video.c | 2 +-
drivers/media/video/vpx3220.c | 2 +-
drivers/media/video/zoran/zoran_driver.c | 2 +-
13 files changed, 13 insertions(+), 13 deletions(-)
--
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/