summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.com>2017-05-11 22:10:48 +0300
committerGustavo Padovan <gustavo.padovan@collabora.com>2017-05-26 08:13:13 +0300
commiteb53a46be597b5f413fbcab9df0a3422bbb3fc16 (patch)
tree6b2aa2d9e81cf93d992ee133110e9c0c3da3c79c /include/drm
parent4894bf711d19a1bdcc954e0ed4971d6c0b399b90 (diff)
downloadlinux-eb53a46be597b5f413fbcab9df0a3422bbb3fc16.tar.xz
drm: remove unsafe drm_for_each_connector()
After converting all users to drm_for_each_connector_iter() we no longer need drm_for_each_connector() so we can go ahead and remove it. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170511191049.28944-8-gustavo@padovan.org
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_connector.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h
index 2fe09c1ddfb8..d8bb25f38eba 100644
--- a/include/drm/drm_connector.h
+++ b/include/drm/drm_connector.h
@@ -1010,21 +1010,6 @@ void drm_mode_put_tile_group(struct drm_device *dev,
struct drm_tile_group *tg);
/**
- * drm_for_each_connector - iterate over all connectors
- * @connector: the loop cursor
- * @dev: the DRM device
- *
- * Iterate over all connectors of @dev.
- *
- * WARNING:
- *
- * This iterator is not safe against hotadd/removal of connectors and is
- * deprecated. Use drm_for_each_connector_iter() instead.
- */
-#define drm_for_each_connector(connector, dev) \
- list_for_each_entry(connector, &(dev)->mode_config.connector_list, head)
-
-/**
* struct drm_connector_list_iter - connector_list iterator
*
* This iterator tracks state needed to be able to walk the connector_list