]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/amdgpu: Initialize the variables in a straight-forward way
authorAlex Xie <AlexBin.Xie@amd.com>
Mon, 6 Jun 2016 22:21:09 +0000 (18:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:51:27 +0000 (14:51 -0400)
commit21718497687c054ed4f936c1ef306b3acf69a626
treed08a0dbe97c90e5a7d1fe201b8a74dc7d16fa19e
parent3a6f8e0c7294ce1c0bdeaa778df1095197b4cf6a
drm/amdgpu: Initialize the variables in a straight-forward way

Initialize the variable in a straight-forward way instead of
hiding the initialization inside the loop. This can also
reduce one function call.

Signed-off-by: Alex Xie <AlexBin.Xie@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