Re: [PATCH] v4l: Cleanup redundant tests on unsigned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux