OMAP: DSS2: OMAPFB: Remove redundant color register range check
authorJani Nikula <ext-jani.1.nikula@nokia.com>
Tue, 1 Jun 2010 14:33:54 +0000 (17:33 +0300)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Thu, 5 Aug 2010 13:52:09 +0000 (16:52 +0300)
commit7f8b183059edc6c74654301431d520a91539e45f
tree26d127d64813823894f00957144466d4c1c84d05
parent86f2d7dd72e1ff4656107e42a12c999a7b9c26d4
OMAP: DSS2: OMAPFB: Remove redundant color register range check

Unsigned regno can never be less than zero. Found by Coverity.

Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/omapfb/omapfb-main.c