提交 7b4cf994 编写于 作者: H Hans de Goede 提交者: 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: NHans de Goede <hdegoede@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册