aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAlex Xie <[email protected]>2016-06-06 22:21:09 +0000
committerAlex Deucher <[email protected]>2016-07-07 18:51:27 +0000
commit21718497687c054ed4f936c1ef306b3acf69a626 (patch)
treed08a0dbe97c90e5a7d1fe201b8a74dc7d16fa19e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: Add comment to describe the purpose of one difficult if statement (diff)
downloadkernel-21718497687c054ed4f936c1ef306b3acf69a626.tar.gz
kernel-21718497687c054ed4f936c1ef306b3acf69a626.zip
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 <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions