drm/radeon: remove unecessary assignment
authorIlija Hadzic <ihadzic@research.bell-labs.com>
Wed, 2 Jan 2013 23:27:37 +0000 (18:27 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Jan 2013 21:24:39 +0000 (16:24 -0500)
commit580f839892d659097459eaf3b52fb1af1a83f358
treef279ac45a5b8b85f3d6b03124301cddae65db13b
parent3646e4209f2bd0d09022ed792e594fb4f559b86c
drm/radeon: remove unecessary assignment

length_dw field was assigned twice. While at it, move user_ptr
assignment together with all other assignments to p->chunks[i]
structure to make the code more readable.

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_cs.c