aboutsummaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-02 10:41:12 +1000
committerDave Airlie <airlied@redhat.com>2008-06-02 10:41:12 +1000
commitdba95ec34315d62934ff0e493e085aa6a03cde7c (patch)
tree3dcca87cf34028dcb0758ae9de54a1e14e3de705 /linux-core
parente439e74776b215d70d8e34e8aa9cea22179dcbc6 (diff)
drm: fixup some interfaces so test code works again
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_crtc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index 27bf7c27..c4210fd4 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -1015,8 +1015,6 @@ int drm_mode_getcrtc(struct drm_device *dev,
{
struct drm_mode_crtc *crtc_resp = data;
struct drm_crtc *crtc;
- struct drm_connector *connector;
- int ocount;
int ret = 0;
mutex_lock(&dev->mode_config.mutex);
@@ -1039,11 +1037,6 @@ int drm_mode_getcrtc(struct drm_device *dev,
drm_crtc_convert_to_umode(&crtc_resp->mode, &crtc->mode);
crtc_resp->mode_valid = 1;
- ocount = 0;
- list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
- if (connector->encoder->crtc == crtc)
- crtc_resp->connectors |= 1 << (ocount++);
- }
} else {
crtc_resp->mode_valid = 0;