[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1346881907-5596-1-git-send-email-emilgoode@gmail.com>
Date: Wed, 5 Sep 2012 23:51:47 +0200
From: Emil Goode <emilgoode@...il.com>
To: airlied@...ux.ie, airlied@...hat.com, alan@...ux.intel.com,
patrik.r.jakobsson@...il.com, yakui.zhao@...el.com,
jani.nikula@...el.com
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Emil Goode <emilgoode@...il.com>
Subject: [PATCH] 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@...il.com>
---
drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 2 --
1 file changed, 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;
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists