drm/i915: Remove unused members from intel_tv.c
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 10 Apr 2017 09:07:07 +0000 (11:07 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 12 Apr 2017 08:53:22 +0000 (10:53 +0200)
They have been unused since 2010, after the code for
intel_tv_save/restore was removed in the below commit:

commit 6443170f6d862a1cc89e61e4bb2410b714b875f4
Author: Eric Anholt <eric@anholt.net>
Date:   Fri Apr 2 15:24:27 2010 -0700

    drm/i915: Remove dead KMS encoder save/restore code.

    This was brought over from UMS, and used for a while until we decided
    that drm_helper_resume_force_mode was easier and more reliable, since
    it didn't require duplicating all the code deleted here.  We just
    forgot to delete all that junk for a while.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1491815239-10685-2-git-send-email-maarten.lankhorst@linux.intel.com
[mlankhorst: Add commit blurb based on danvet's feedback.]

drivers/gpu/drm/i915/intel_tv.c

index e077c2a9e69470633fc54e7ebc3089e16d8e36fd..3af857a75fab94426389bc234a8cbd59bf98dcd1 100644 (file)
@@ -50,39 +50,6 @@ struct intel_tv {
        int type;
        const char *tv_format;
        int margin[4];
-       u32 save_TV_H_CTL_1;
-       u32 save_TV_H_CTL_2;
-       u32 save_TV_H_CTL_3;
-       u32 save_TV_V_CTL_1;
-       u32 save_TV_V_CTL_2;
-       u32 save_TV_V_CTL_3;
-       u32 save_TV_V_CTL_4;
-       u32 save_TV_V_CTL_5;
-       u32 save_TV_V_CTL_6;
-       u32 save_TV_V_CTL_7;
-       u32 save_TV_SC_CTL_1, save_TV_SC_CTL_2, save_TV_SC_CTL_3;
-
-       u32 save_TV_CSC_Y;
-       u32 save_TV_CSC_Y2;
-       u32 save_TV_CSC_U;
-       u32 save_TV_CSC_U2;
-       u32 save_TV_CSC_V;
-       u32 save_TV_CSC_V2;
-       u32 save_TV_CLR_KNOBS;
-       u32 save_TV_CLR_LEVEL;
-       u32 save_TV_WIN_POS;
-       u32 save_TV_WIN_SIZE;
-       u32 save_TV_FILTER_CTL_1;
-       u32 save_TV_FILTER_CTL_2;
-       u32 save_TV_FILTER_CTL_3;
-
-       u32 save_TV_H_LUMA[60];
-       u32 save_TV_H_CHROMA[60];
-       u32 save_TV_V_LUMA[43];
-       u32 save_TV_V_CHROMA[43];
-
-       u32 save_TV_DAC;
-       u32 save_TV_CTL;
 };
 
 struct video_levels {