diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2012-08-17 10:20:02 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-08-21 19:27:27 -0400 |
commit | 04ccfe77f132b973659f11954443214659014072 (patch) | |
tree | 57aacebe4a016f5eef73943976bd7602c2d80b78 | |
parent | f5869a8308f77e3dfdc2e3640842b285aa788ff8 (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/drm_modes.c | 3 | ||||
-rw-r--r-- | include/drm/drm_crtc.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index b7adb4a967fd..28637c181b15 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) | |||
706 | p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal); | 706 | p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal); |
707 | p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay); | 707 | p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay); |
708 | p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal); | 708 | p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal); |
709 | |||
710 | p->crtc_hadjusted = false; | ||
711 | p->crtc_vadjusted = false; | ||
712 | } | 709 | } |
713 | EXPORT_SYMBOL(drm_mode_set_crtcinfo); | 710 | EXPORT_SYMBOL(drm_mode_set_crtcinfo); |
714 | 711 | ||
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index a1a0386e0160..ced362533e3c 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -166,8 +166,6 @@ struct drm_display_mode { | |||
166 | int crtc_vsync_start; | 166 | int crtc_vsync_start; |
167 | int crtc_vsync_end; | 167 | int crtc_vsync_end; |
168 | int crtc_vtotal; | 168 | int crtc_vtotal; |
169 | int crtc_hadjusted; | ||
170 | int crtc_vadjusted; | ||
171 | 169 | ||
172 | /* Driver private mode info */ | 170 | /* Driver private mode info */ |
173 | int private_size; | 171 | int private_size; |