From: Alan Cox Date: Fri, 15 Jul 2011 16:34:28 +0000 (+0100) Subject: gma500: Fix cdv warning on unused variable X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=80e2f055e05b62d1132eadc934f83c6d81c7cfa4;p=linux-beck.git gma500: Fix cdv warning on unused variable Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/gma500/cdv_intel_lvds.c b/drivers/staging/gma500/cdv_intel_lvds.c index d9478d565ff5..988b2d0acf43 100644 --- a/drivers/staging/gma500/cdv_intel_lvds.c +++ b/drivers/staging/gma500/cdv_intel_lvds.c @@ -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;