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

kbuild test robot fengguang.wu at intel.com
Thu May 11 01:48:31 UTC 2017


drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_resource.c:1085:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Harry Wentland <harry.wentland at amd.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---

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

--- a/drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_resource.c
+++ b/drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_resource.c
@@ -1082,7 +1082,7 @@ static bool dcc_support_swizzle(
 		break;
 	default:
 		break;
-	};
+	}
 
 	if (bytes_per_element == 1 && standard_swizzle) {
 		*segment_order_horz = segment_order__contiguous;


More information about the dri-devel mailing list