video/omap: remove invalid check
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 21 Sep 2015 13:34:00 +0000 (15:34 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 24 Sep 2015 10:46:15 +0000 (13:46 +0300)
commitc50d5cd235210abffa1e88affbead1adbd5f294a
tree6447c26b4de4cc3095d94c9ddaa3bd00ce6decd2
parent8a9d4626db312fe0a682c35ef43fe8d9160c2ecd
video/omap: remove invalid check

regno is unsigned so it cannot be negative.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap/omapfb_main.c