drm: Remove two unused fields from struct drm_display_mode
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 17 Aug 2012 14:20:02 +0000 (14:20 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 21 Aug 2012 23:27:27 +0000 (09:27 +1000)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_modes.c
include/drm/drm_crtc.h

index b7adb4a967fd02b80eee0f0bd6e78b2d76c7e9b1..28637c181b15045fb0d2e9235a5d653ee0204f92 100644 (file)
@@ -706,9 +706,6 @@ void drm_mode_set_crtcinfo(struct drm_display_mode *p, int adjust_flags)
        p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal);
        p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay);
        p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal);
-
-       p->crtc_hadjusted = false;
-       p->crtc_vadjusted = false;
 }
 EXPORT_SYMBOL(drm_mode_set_crtcinfo);
 
index a1a0386e0160d9278f6b74e213f26915a87551af..ced362533e3c770f6dc8f4cb3a3872aeb52e455d 100644 (file)
@@ -166,8 +166,6 @@ struct drm_display_mode {
        int crtc_vsync_start;
        int crtc_vsync_end;
        int crtc_vtotal;
-       int crtc_hadjusted;
-       int crtc_vadjusted;
 
        /* Driver private mode info */
        int private_size;