Skip to content

Commit

Permalink
udldrmfb: udl_get_edid: drop unneeded i--
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hans de Goede authored and Dave Airlie committed Jan 13, 2013
1 parent 242187b commit 7b4cf99
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/udl/udl_connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 7b4cf99

Please sign in to comment.