]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/powerplay: Remove unneeded variable 'result' in smu10_hwmgr.c
authorzhengbin <zhengbin13@huawei.com>
Wed, 27 Nov 2019 09:33:38 +0000 (17:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Dec 2019 22:55:08 +0000 (17:55 -0500)
commit9c9290fa3ce16e0d81d89a7e82005cbf094d92d9
tree83fd997f2eb1a2b82b078c5f34e8d9ab943bf8d9
parentf706ec87ea4cd193b772a85ff66a693520dbf12d
drm/amd/powerplay: Remove unneeded variable 'result' in smu10_hwmgr.c

Fixes coccicheck warning:

drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c:1154:5-11: Unneeded variable: "result". Return "0" on line 1159

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c