Skip to content

Commit

Permalink
drm/i915: remove unused intel_pipe_get_connector()
Browse files Browse the repository at this point in the history
Added by original eDP support patch, not used any more.

Signed-off-by: Zhenyu Wang <[email protected]>
  • Loading branch information
zhenyw authored and anholt committed Apr 12, 2010
1 parent 1f254ec commit 409608b
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,23 +753,6 @@ bool intel_pipe_has_type (struct drm_crtc *crtc, int type)
return false;
}

static struct drm_connector *
intel_pipe_get_connector (struct drm_crtc *crtc)
{
struct drm_device *dev = crtc->dev;
struct drm_mode_config *mode_config = &dev->mode_config;
struct drm_connector *l_entry, *ret = NULL;

list_for_each_entry(l_entry, &mode_config->connector_list, head) {
if (l_entry->encoder &&
l_entry->encoder->crtc == crtc) {
ret = l_entry;
break;
}
}
return ret;
}

#define INTELPllInvalid(s) do { /* DRM_DEBUG(s); */ return false; } while (0)
/**
* Returns whether the given set of divisors are valid for a given refclk with
Expand Down

0 comments on commit 409608b

Please sign in to comment.