drm/r600: avoid assigning vb twice in blit code
authorRobert Noland <rnoland@2hip.net>
Mon, 5 Oct 2009 15:56:44 +0000 (11:56 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Oct 2009 23:56:27 +0000 (09:56 +1000)
commit49c458e544ae14514209ed80ea6829ca1b18ddf0
treee26fa7bcaa9f91b309dae972ac16032e22e2da75
parent9d8401fcbb8c8a390b649b9c1b18dab113a918d6
drm/r600: avoid assigning vb twice in blit code

There is no need to assign vb before you know that space is available.

[agd5f: adapted for kernel tree.]

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_blit.c
drivers/gpu/drm/radeon/r600_blit_kms.c