OSDN Git Service

drm/amdgpu: fix semicolon.cocci warnings
authorkernel test robot <lkp@intel.com>
Mon, 12 Oct 2020 21:20:49 +0000 (05:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Oct 2020 19:13:48 +0000 (15:13 -0400)
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:608:2-3: Unneeded semicolon

 Remove unneeded semicolon.

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

Fixes: b4a7db71ea06 ("drm/amdgpu: add per device user friendly xgmi events for vega20")
CC: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c

index 1b213c4..19c0a36 100644 (file)
@@ -654,7 +654,7 @@ int amdgpu_pmu_init(struct amdgpu_device *adev)
 
        default:
                return 0;
-       };
+       }
 
        return ret;
 }