gma500: Fix unused variable in cdv support
authorAlan Cox <alan@linux.intel.com>
Fri, 8 Jul 2011 08:45:07 +0000 (09:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 20:44:58 +0000 (13:44 -0700)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/cdv_intel_hdmi.c

index 7f86c0cfc8e652faf719a24b079f1763ebeec7fa..cbca2b0c7d58af40991b95d534655f82e138c937 100644 (file)
@@ -133,7 +133,6 @@ static void cdv_hdmi_restore(struct drm_connector *connector)
 static enum drm_connector_status cdv_hdmi_detect(
                                struct drm_connector *connector, bool force)
 {
-       struct drm_device *dev = connector->dev;
        struct psb_intel_output *psb_intel_output =
                                                to_psb_intel_output(connector);
        struct mid_intel_hdmi_priv *hdmi_priv = psb_intel_output->dev_priv;