From: Kirill A. Shutemov Date: Thu, 8 Mar 2012 16:14:18 +0000 (+0000) Subject: gma500: oaktrail_lvds_init() drop unused variable X-Git-Tag: MMI-PSA29.97-13-9~17223^2~63^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc2e991c1564c952fd21f850db8d4a8f43847c09;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git gma500: oaktrail_lvds_init() drop unused variable Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c b/drivers/gpu/drm/gma500/oaktrail_lvds.c index 37273b80bcd5..654f32b22b21 100644 --- a/drivers/gpu/drm/gma500/oaktrail_lvds.c +++ b/drivers/gpu/drm/gma500/oaktrail_lvds.c @@ -331,7 +331,6 @@ void oaktrail_lvds_init(struct drm_device *dev, struct drm_encoder *encoder; struct drm_psb_private *dev_priv = dev->dev_private; struct edid *edid; - int ret = 0; struct i2c_adapter *i2c_adap; struct drm_display_mode *scan; /* *modes, *bios_mode; */ @@ -400,7 +399,7 @@ void oaktrail_lvds_init(struct drm_device *dev, if (edid) { drm_mode_connector_update_edid_property(connector, edid); - ret = drm_add_edid_modes(connector, edid); + drm_add_edid_modes(connector, edid); kfree(edid); }