]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: video: fbcmap: remove the redundency and incorrect checkings
authorChen Gang <gang.chen@asianux.com>
Tue, 20 Aug 2013 02:33:56 +0000 (10:33 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Aug 2013 08:41:24 +0000 (11:41 +0300)
commit3433421bdcbb9830030833fd3f28fcd69c3feeea
treeae644be218e1fd1ddeab3065ccb6bdef35d7c198
parent8312ef39f1e7483fbf1a7fe776ee2f6d9ae54509
drivers: video: fbcmap: remove the redundency and incorrect checkings

fb_set_cmap() already checks the parameters, so need remove the
redundancy checking.

This redundancy checking is also incorrect, the related warning:

  drivers/video/fbcmap.c:288:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbcmap.c