[PATCH] drm/amdgpu: fix semicolon.cocci warnings

kernel test robot lkp at intel.com
Mon Oct 12 21:20:49 UTC 2020


From: kernel test robot <lkp at intel.com>

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 at amd.com>
Signed-off-by: kernel test robot <lkp at intel.com>
---

tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next
head:   02c3d98ce25b3e4f0b8e830be054c8f4f7f944c1
commit: b4a7db71ea060218529e6a4c660c37687ecb5669 [286/376] drm/amdgpu: add per device user friendly xgmi events for vega20

 amdgpu_pmu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
@@ -605,7 +605,7 @@ int amdgpu_pmu_init(struct amdgpu_device
 		break;
 	default:
 		return 0;
-	};
+	}
 
 	return ret;
 }


More information about the dri-devel mailing list