diff options
author | Alex Xie <AlexBin.Xie@amd.com> | 2016-06-07 01:21:09 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-07-07 21:51:27 +0300 |
commit | 21718497687c054ed4f936c1ef306b3acf69a626 (patch) | |
tree | d08a0dbe97c90e5a7d1fe201b8a74dc7d16fa19e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 3a6f8e0c7294ce1c0bdeaa778df1095197b4cf6a (diff) | |
download | linux-21718497687c054ed4f936c1ef306b3acf69a626.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions