summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_modes.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2012-08-17 14:20:02 +0000
committerDave Airlie <airlied@redhat.com>2012-08-22 09:27:27 +1000
commit04ccfe77f132b973659f11954443214659014072 (patch)
tree57aacebe4a016f5eef73943976bd7602c2d80b78 /drivers/gpu/drm/drm_modes.c
parentf5869a8308f77e3dfdc2e3640842b285aa788ff8 (diff)
downloadop-kernel-dev-04ccfe77f132b973659f11954443214659014072.zip
op-kernel-dev-04ccfe77f132b973659f11954443214659014072.tar.gz
drm: Remove two unused fields from struct drm_display_mode
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>
Diffstat (limited to 'drivers/gpu/drm/drm_modes.c')
-rw-r--r--drivers/gpu/drm/drm_modes.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
index b7adb4a..28637c1 100644
--- a/drivers/gpu/drm/drm_modes.c
+++ b/drivers/gpu/drm/drm_modes.c
@@ -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);
OpenPOWER on IntegriCloud