diff options
author | Emil Goode <emilgoode@gmail.com> | 2012-09-05 23:51:47 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-09-13 11:40:05 +1000 |
commit | 09e7dcf081b1100d1cdff57fa9eb25c3a834c9d6 (patch) | |
tree | ff8de4462a2175a5d37438603b8a178a1330bbfa | |
parent | 3a9950781cccc0a2c219c9369e585945f1de1c0f (diff) | |
download | op-kernel-dev-09e7dcf081b1100d1cdff57fa9eb25c3a834c9d6.zip op-kernel-dev-09e7dcf081b1100d1cdff57fa9eb25c3a834c9d6.tar.gz |
gma500: Remove unused variable
This patch removes a unused struct psb_intel_connector
Sparse gives a warning:
drivers/gpu/drm/gma500/cdv_intel_hdmi.c:142:30: warning:
unused variable ‘psb_intel_connector’ [-Wunused-variable]
Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_intel_hdmi.c b/drivers/gpu/drm/gma500/cdv_intel_hdmi.c index b1b77bb..7272a46 100644 --- a/drivers/gpu/drm/gma500/cdv_intel_hdmi.c +++ b/drivers/gpu/drm/gma500/cdv_intel_hdmi.c @@ -139,8 +139,6 @@ static enum drm_connector_status cdv_hdmi_detect( { struct psb_intel_encoder *psb_intel_encoder = psb_intel_attached_encoder(connector); - struct psb_intel_connector *psb_intel_connector = - to_psb_intel_connector(connector); struct mid_intel_hdmi_priv *hdmi_priv = psb_intel_encoder->dev_priv; struct edid *edid = NULL; enum drm_connector_status status = connector_status_disconnected; |