diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-08-20 04:33:56 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-08-30 10:41:24 +0200 |
commit | 9bb40585c9d934db3585e1f422e2ffb1dd5e9631 (patch) | |
tree | ae644be218e1fd1ddeab3065ccb6bdef35d7c198 /drivers/video/fbmem.c | |
parent | video: mxsfb: simplify use of devm_ioremap_resource (diff) | |
download | linux-9bb40585c9d934db3585e1f422e2ffb1dd5e9631.tar.xz linux-9bb40585c9d934db3585e1f422e2ffb1dd5e9631.zip |
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>
Diffstat (limited to 'drivers/video/fbmem.c')
0 files changed, 0 insertions, 0 deletions