]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/fb-helper: Remove dead code in setcolreg
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Mar 2016 09:51:17 +0000 (11:51 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 31 May 2016 13:24:58 +0000 (15:24 +0200)
commitfef1480d0f2b0bb657a34034157185a3eb029abb
tree9a40f317efb276d996bda4e66ffcd3db95a5dd52
parent564dd27e5f765676eb187f7cbe5f0d101b3eecb8
drm/fb-helper: Remove dead code in setcolreg

DRM fbdev emulation only supports pallete_color with depth == 8, and
truecolor with depth > 8. Handling depth == 16 for palettes is hence
dead code, let's remove it.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1459331485-28376-3-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_fb_helper.c