Commit 7b4cf994 authored by Hans de Goede's avatar Hans de Goede Committed by Dave Airlie

udldrmfb: udl_get_edid: drop unneeded i--

This is a left-over from when udl_get_edid returned the amount of bytes
successfully read, which it no longer does.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 242187b3
...@@ -40,7 +40,6 @@ static u8 *udl_get_edid(struct udl_device *udl) ...@@ -40,7 +40,6 @@ static u8 *udl_get_edid(struct udl_device *udl)
HZ); HZ);
if (ret < 1) { if (ret < 1) {
DRM_ERROR("Read EDID byte %d failed err %x\n", i, ret); DRM_ERROR("Read EDID byte %d failed err %x\n", i, ret);
i--;
goto error; goto error;
} }
block[i] = rbuf[1]; block[i] = rbuf[1];
......
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