drm/amdgpu: simplify the bo reference on amdgpu_bo_update
authorHuang Rui <ray.huang@amd.com>
Wed, 4 Jul 2018 10:08:54 +0000 (18:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jul 2018 21:18:44 +0000 (16:18 -0500)
commit7eb80427746175530f03a00ad5281c4222f17238
tree3103b5d965ef9705066d0835c097115cad1c7cef
parentf3cdadb6fee9287d81d2dacd830bd5b439cb7331
drm/amdgpu: simplify the bo reference on amdgpu_bo_update

BO ptr already be initialized at definition, we needn't use the complicated
reference.

v2: fix typo at subject line

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c