Date: Fri, 16 Sep 2011 20:09:22 +0000 Signed-off-by: Michael Witten <mfwitten@xxxxxxxxx> --- drivers/gpu/drm/radeon/radeon_bios.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_bios.c b/drivers/gpu/drm/radeon/radeon_bios.c index 229a20f..af62082 100644 --- a/drivers/gpu/drm/radeon/radeon_bios.c +++ b/drivers/gpu/drm/radeon/radeon_bios.c @@ -59,7 +59,7 @@ static bool igp_read_bios_from_vram(struct radeon_device *rdev) return false; } - if (size == 0 || bios[0] != 0x55 || bios[1] != 0xaa) { + if (bios[0] != 0x55 || bios[1] != 0xaa) { iounmap(bios); return false; } -- 1.7.6.409.ge7a85 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel