diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2020-02-15 21:35:03 +0300 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-02-15 23:15:46 +0300 |
commit | 885a066e9603add45a70b93ecf243b1aae4a4423 (patch) | |
tree | c7c69c0e8826c0d85484b3c83b88e950a4628714 /include/drm/drm_modes.h | |
parent | 2f3ba73ae54f8372c1bd51cb594b2bf0ac8f9f3a (diff) | |
download | linux-885a066e9603add45a70b93ecf243b1aae4a4423.tar.xz |
drm: drop unused drm_display_mode.private
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 <sam@ravnborg.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200215183503.GA17310@ravnborg.org
Diffstat (limited to 'include/drm/drm_modes.h')
-rw-r--r-- | include/drm/drm_modes.h | 11 |
1 files changed, 2 insertions, 9 deletions
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; /** |