gma500: Fix cdv warning on unused variable
authorAlan Cox <alan@linux.intel.com>
Fri, 15 Jul 2011 16:34:28 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 15 Jul 2011 17:05:07 +0000 (19:05 +0200)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/cdv_intel_lvds.c

index d9478d565ff5efff1e9aaaec4a1dcab9e91dc746..988b2d0acf43fb4243c49a5a00e5cc83aac5b0f3 100644 (file)
@@ -353,8 +353,6 @@ static void cdv_intel_lvds_mode_set(struct drm_encoder *encoder,
                                struct drm_display_mode *mode,
                                struct drm_display_mode *adjusted_mode)
 {
-       struct psb_intel_mode_device *mode_dev =
-           enc_to_psb_intel_output(encoder)->mode_dev;
        struct drm_device *dev = encoder->dev;
        struct drm_psb_private *dev_priv = dev->dev_private;
        u32 pfit_control;