[PATCH -next] drm/panel: remove unneeded semicolon

Yang Li yang.lee at linux.alibaba.com
Tue Oct 19 07:37:26 UTC 2021


Eliminate the following coccicheck warning:
./drivers/gpu/drm/panel/panel-novatek-nt35950.c:639:2-3: Unneeded
semicolon

Reported-by: Abaci Robot <abaci at linux.alibaba.com>
Fixes: 623a3531e9cf ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels")
Signed-off-by: Yang Li <yang.lee at linux.alibaba.com>
---
 drivers/gpu/drm/panel/panel-novatek-nt35950.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35950.c b/drivers/gpu/drm/panel/panel-novatek-nt35950.c
index d42c7af..3821c66 100644
--- a/drivers/gpu/drm/panel/panel-novatek-nt35950.c
+++ b/drivers/gpu/drm/panel/panel-novatek-nt35950.c
@@ -636,7 +636,7 @@ static int nt35950_remove(struct mipi_dsi_device *dsi)
 			dev_err(&dsi->dev,
 				"Failed to detach from DSI1 host: %d\n", ret);
 		mipi_dsi_device_unregister(nt->dsi[1]);
-	};
+	}
 
 	drm_panel_remove(&nt->panel);
 
-- 
1.8.3.1



More information about the dri-devel mailing list