[media] uvcvideo: Simplify redundant check
authorOliver Neukum <oneukum@suse.de>
Thu, 23 Jan 2014 10:28:24 +0000 (07:28 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 28 Feb 2014 16:20:37 +0000 (13:20 -0300)
commitdaf41ac2c4b5b2e663079ccc58b8d6a70a3c111b
tree127ab56eaf7ac6d0f263d865f2514b2d100a3d0c
parent79019190a4c3a082c739cf7cc73a040c48b333bb
[media] uvcvideo: Simplify redundant check

x < constant implies x + unsigned < constant
That check just obfuscates the code

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/uvc/uvc_driver.c