[PATCH] drm/amd/dc: fix semicolon.cocci warnings

kbuild test robot fengguang.wu at intel.com
Thu Oct 12 23:35:54 UTC 2017


drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:134:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: 80be23c57868 ("drm/amd/dc: Add dc display driver (v2)")
CC: Harry Wentland <harry.wentland at amd.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---

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

--- a/drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c
+++ b/drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c
@@ -131,7 +131,7 @@ failure_2:
 
 		if (slot)
 			dm_free(slot);
-	};
+	}
 
 failure_1:
 	dm_free(service);


More information about the dri-devel mailing list