Commit cc2e991c authored by Kirill A. Shutemov's avatar Kirill A. Shutemov Committed by Dave Airlie

gma500: oaktrail_lvds_init() drop unused variable

Signed-off-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 1e30296a
...@@ -331,7 +331,6 @@ void oaktrail_lvds_init(struct drm_device *dev, ...@@ -331,7 +331,6 @@ void oaktrail_lvds_init(struct drm_device *dev,
struct drm_encoder *encoder; struct drm_encoder *encoder;
struct drm_psb_private *dev_priv = dev->dev_private; struct drm_psb_private *dev_priv = dev->dev_private;
struct edid *edid; struct edid *edid;
int ret = 0;
struct i2c_adapter *i2c_adap; struct i2c_adapter *i2c_adap;
struct drm_display_mode *scan; /* *modes, *bios_mode; */ struct drm_display_mode *scan; /* *modes, *bios_mode; */
...@@ -400,7 +399,7 @@ void oaktrail_lvds_init(struct drm_device *dev, ...@@ -400,7 +399,7 @@ void oaktrail_lvds_init(struct drm_device *dev,
if (edid) { if (edid) {
drm_mode_connector_update_edid_property(connector, drm_mode_connector_update_edid_property(connector,
edid); edid);
ret = drm_add_edid_modes(connector, edid); drm_add_edid_modes(connector, edid);
kfree(edid); kfree(edid);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment