drm: radeon: *_cs_packet_parse_vline() cleanup
authorPaul Bolle <pebolle@tiscali.nl>
Wed, 16 Mar 2011 21:10:06 +0000 (22:10 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 17 Mar 2011 03:50:43 +0000 (13:50 +1000)
commita3a88a668ffe8f9771a525a2b00570f8a4c29286
tree05022f51b985846654634927ce21323faa6bd448
parent3409fc1b22e2717237f9f23112645f5d190cff4d
drm: radeon: *_cs_packet_parse_vline() cleanup

Simplify the way the return value is set a number of times (mostly on
error).

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen_cs.c
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600_cs.c