diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2010-03-29 16:54:31 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-04-12 09:23:56 -0700 |
commit | 409608b391994c3ac2abe0d9ca50c3d163faafe1 (patch) | |
tree | 217e1654b59fc091182f55422f5546727e7b6d2a | |
parent | 1f254ec2f1360202e2a024ce6b82df69fb14988f (diff) | |
download | op-kernel-dev-409608b391994c3ac2abe0d9ca50c3d163faafe1.zip op-kernel-dev-409608b391994c3ac2abe0d9ca50c3d163faafe1.tar.gz |
drm/i915: remove unused intel_pipe_get_connector()
Added by original eDP support patch, not used any more.
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index ecf554a..3ee68bc 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -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 |