commit | 21718497687c054ed4f936c1ef306b3acf69a626 | [log] [tgz] |
---|---|---|
author | Alex Xie <AlexBin.Xie@amd.com> | Mon Jun 06 18:21:09 2016 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Jul 07 14:51:27 2016 -0400 |
tree | d08a0dbe97c90e5a7d1fe201b8a74dc7d16fa19e | |
parent | 3a6f8e0c7294ce1c0bdeaa778df1095197b4cf6a [diff] |
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>