mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-19 15:39:07 +00:00
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: Hans de Goede <hdegoede@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
242187b362
commit
7b4cf994e4
@ -40,7 +40,6 @@ static u8 *udl_get_edid(struct udl_device *udl)
|
||||
HZ);
|
||||
if (ret < 1) {
|
||||
DRM_ERROR("Read EDID byte %d failed err %x\n", i, ret);
|
||||
i--;
|
||||
goto error;
|
||||
}
|
||||
block[i] = rbuf[1];
|
||||
|
Loading…
Reference in New Issue
Block a user