diff mbox series

drm/amdgpu: fix semicolon.cocci warnings

Message ID 20190306052611.GA139181@lkp-ib04 (mailing list archive)
State New, archived
Headers show
Series drm/amdgpu: fix semicolon.cocci warnings | expand

Commit Message

kernel test robot March 6, 2019, 5:26 a.m. UTC
From: kbuild test robot <lkp@intel.com>

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:405:2-3: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:435:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: 1381f5b10b10 ("drm/amdgpu: add amdgpu_ras.c to support ras (v2)")
CC: xinhui pan <xinhui.pan@amd.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---

tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-5.2-wip
head:   5b1489e11b0d36226c0192b3ce18f5654fd15243
commit: 1381f5b10b10f8f88d01ca43be9161aeed1d68a2 [264/283] drm/amdgpu: add amdgpu_ras.c to support ras (v2)

 amdgpu_ras.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -402,7 +402,7 @@  static int amdgpu_ras_disable_all_featur
 			if (amdgpu_ras_feature_enable(adev, &obj->head, 0))
 				break;
 		}
-	};
+	}
 
 	return con->features;
 }
@@ -432,7 +432,7 @@  static int amdgpu_ras_enable_all_feature
 			if (amdgpu_ras_feature_enable(adev, &head, 1))
 				break;
 		}
-	};
+	}
 
 	return con->features;
 }