aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_fb.c')
-rw-r--r--linux-core/drm_fb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux-core/drm_fb.c b/linux-core/drm_fb.c
index 775fd180..74a4394a 100644
--- a/linux-core/drm_fb.c
+++ b/linux-core/drm_fb.c
@@ -58,9 +58,6 @@ static int drmfb_setcolreg(unsigned regno, unsigned red, unsigned green,
return 1;
if (fb->depth == 8) {
- if (crtc->funcs->gamma_set) {
- crtc->funcs->gamma_set(crtc, red, green, blue, regno);
- }
return 0;
}