Skip to content

Commit 04ccfe7

Browse files
Damien Lespiauairlied
authored andcommitted
drm: Remove two unused fields from struct drm_display_mode
Signed-off-by: Damien Lespiau <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
1 parent f5869a8 commit 04ccfe7

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

drivers/gpu/drm/drm_modes.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -706,9 +706,6 @@ void drm_mode_set_crtcinfo(struct drm_display_mode *p, int adjust_flags)
706706
p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal);
707707
p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay);
708708
p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal);
709-
710-
p->crtc_hadjusted = false;
711-
p->crtc_vadjusted = false;
712709
}
713710
EXPORT_SYMBOL(drm_mode_set_crtcinfo);
714711

include/drm/drm_crtc.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ struct drm_display_mode {
166166
int crtc_vsync_start;
167167
int crtc_vsync_end;
168168
int crtc_vtotal;
169-
int crtc_hadjusted;
170-
int crtc_vadjusted;
171169

172170
/* Driver private mode info */
173171
int private_size;

0 commit comments

Comments
 (0)