From 885a066e9603add45a70b93ecf243b1aae4a4423 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sat, 15 Feb 2020 19:35:03 +0100 Subject: drm: drop unused drm_display_mode.private MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit drm_display_mode.private was only referenced in one place where is was copied but never assigned. Drop the copy and drop the field in drm_display_mode. Adjust the comment of private_flags as is referred to the comment for private. Signed-off-by: Sam Ravnborg Reviewed-by: Daniel Vetter Cc: Sean Paul Cc: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20200215183503.GA17310@ravnborg.org --- include/drm/drm_modes.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'include/drm') diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h index e946e20c61d8..99134d4f35eb 100644 --- a/include/drm/drm_modes.h +++ b/include/drm/drm_modes.h @@ -371,20 +371,13 @@ struct drm_display_mode { int crtc_vtotal; /** - * @private: + * @private_flags: * - * Pointer for driver private data. This can only be used for mode + * Driver private flags. private_flags can only be used for mode * objects passed to drivers in modeset operations. It shouldn't be used * by atomic drivers since they can store any additional data by * subclassing state structures. */ - int *private; - - /** - * @private_flags: - * - * Similar to @private, but just an integer. - */ int private_flags; /** -- cgit v1.2.3