OSDN Git Service

drm/amd/pp: fix semicolon.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Tue, 10 Jul 2018 17:11:08 +0000 (01:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Jul 2018 19:19:02 +0000 (14:19 -0500)
drivers/gpu/drm/amd/amdgpu/../powerplay/amd_powerplay.c:1209:17-18: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: ea870e44415a ("drm/amd/pp: Export notify_smu_enable_pwe to display")
CC: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c

index 145e5c4..75c2082 100644 (file)
@@ -1206,7 +1206,7 @@ static int pp_notify_smu_enable_pwe(void *handle)
        struct pp_hwmgr *hwmgr = handle;
 
        if (!hwmgr || !hwmgr->pm_en)
-               return -EINVAL;;
+               return -EINVAL;
 
        if (hwmgr->hwmgr_func->smus_notify_pwe == NULL) {
                pr_info("%s was not implemented.\n", __func__);