diff mbox

drm/amdgpu: fix semicolon.cocci warnings

Message ID 20180104230646.GA144586@lkp-hsx03 (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu Jan. 4, 2018, 11:06 p.m. UTC
From: Fengguang Wu <fengguang.wu@intel.com>

drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:281:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: 620f774f4687 ("drm/amdgpu: separate VMID and PASID handling")
CC: Christian König <christian.koenig@amd.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 amdgpu_ids.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
@@ -278,7 +278,7 @@  int amdgpu_vmid_grab(struct amdgpu_vm *v
 		else
 			goto no_flush_needed;
 
-	};
+	}
 
 	/* Still no ID to use? Then use the idle one found earlier */
 	id = idle;