V4L/DVB (10064): mt9m111: mt9m111_get_global_gain() - unsigned >= 0 is always true
authorroel kluin <roel.kluin@gmail.com>
Wed, 17 Dec 2008 17:01:07 +0000 (14:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:40:13 +0000 (09:40 -0200)
commit0f28b79346439ef5db130020aa07be9ca7c2ee84
treecbaf49fd38979d8f5d812a7d64bc153fbe902a13
parentd25cb6461ac93683ac04b2e181bcaa0cc15c349b
V4L/DVB (10064): mt9m111: mt9m111_get_global_gain() - unsigned >= 0 is always true

unsigned >= 0 is always true and fix formula

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9m111.c