drm/amdgpu: Change assignment for a variable in amdgpu_cgs_acpi_eval_object()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 16 Jul 2016 13:05:45 +0000 (15:05 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:36:54 +0000 (14:36 -0400)
commitb4fc5972c18d59b42d503d96147549a97784f912
treec363477a64f5b655aa6c8a7bc3741d9512c95537
parenteb09d7a7c956f8c0edcdcf4eeb96f953587cd16e
drm/amdgpu: Change assignment for a variable in amdgpu_cgs_acpi_eval_object()

Indicate successful function execution only at the end.
Thus omit initialisation for the variable "result" at the beginning.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c