diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2018-06-27 18:36:43 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2018-06-28 10:28:23 +0200 |
commit | 19a40758be04e1d451a030f452efb49e8aaad541 (patch) | |
tree | 595647e812f96863d07058a719d32146446208f3 | |
parent | 8e98195e58f77fd1f354b2707360bd4445aef5b4 (diff) |
Remove #if 0'd code
This has always been disabled, no need to keep it.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Slava Abramov <slava.abramov@amd.com>
-rw-r--r-- | src/drmmode_display.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 1563417..5fe49b6 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -2459,15 +2459,6 @@ static const xf86OutputFuncsRec drmmode_output_funcs = { .create_resources = drmmode_output_create_resources, .set_property = drmmode_output_set_property, .get_property = drmmode_output_get_property, -#if 0 - - .save = drmmode_crt_save, - .restore = drmmode_crt_restore, - .mode_fixup = drmmode_crt_mode_fixup, - .prepare = drmmode_output_prepare, - .mode_set = drmmode_crt_mode_set, - .commit = drmmode_output_commit, -#endif .detect = drmmode_output_detect, .mode_valid = drmmode_output_mode_valid, @@ -3470,9 +3461,6 @@ Bool drmmode_setup_colormap(ScreenPtr pScreen, ScrnInfoPtr pScrn) !xf86HandleColormaps(pScreen, 256, 10, NULL, NULL, CMAP_PALETTED_TRUECOLOR -#if 0 /* This option messes up text mode! (eich@suse.de) */ - | CMAP_LOAD_EVEN_IF_OFFSCREEN -#endif | CMAP_RELOAD_ON_MODE_SWITCH)) return FALSE; } |