diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2012-03-08 11:14:18 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-10 08:06:35 -0500 |
commit | cc2e991c1564c952fd21f850db8d4a8f43847c09 (patch) | |
tree | 4e30187aae2952cead8fc9f7c5d861c097f77d52 /drivers/gpu/drm/gma500 | |
parent | 1e30296a603812fc3592b2a25e0daf3b416d42ce (diff) |
gma500: oaktrail_lvds_init() drop unused variable
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r-- | drivers/gpu/drm/gma500/oaktrail_lvds.c | 3 |
1 files changed, 1 insertions, 2 deletions
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, | |||
331 | struct drm_encoder *encoder; | 331 | struct drm_encoder *encoder; |
332 | struct drm_psb_private *dev_priv = dev->dev_private; | 332 | struct drm_psb_private *dev_priv = dev->dev_private; |
333 | struct edid *edid; | 333 | struct edid *edid; |
334 | int ret = 0; | ||
335 | struct i2c_adapter *i2c_adap; | 334 | struct i2c_adapter *i2c_adap; |
336 | struct drm_display_mode *scan; /* *modes, *bios_mode; */ | 335 | struct drm_display_mode *scan; /* *modes, *bios_mode; */ |
337 | 336 | ||
@@ -400,7 +399,7 @@ void oaktrail_lvds_init(struct drm_device *dev, | |||
400 | if (edid) { | 399 | if (edid) { |
401 | drm_mode_connector_update_edid_property(connector, | 400 | drm_mode_connector_update_edid_property(connector, |
402 | edid); | 401 | edid); |
403 | ret = drm_add_edid_modes(connector, edid); | 402 | drm_add_edid_modes(connector, edid); |
404 | kfree(edid); | 403 | kfree(edid); |
405 | } | 404 | } |
406 | 405 | ||