From: kernel test robot Date: Fri, 19 Mar 2021 05:19:19 +0000 (+0800) Subject: platform/surface: fix semicolon.cocci warnings X-Git-Tag: v5.13-rc1~176^2~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4899ff6a9120ca5dfa82035d51d4d118260be6e;p=thirdparty%2Fkernel%2Flinux.git platform/surface: fix semicolon.cocci warnings drivers/platform/surface/surface_dtx.c:651:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 1d609992832e ("platform/surface: Add DTX driver") CC: Maximilian Luz Reported-by: kernel test robot Signed-off-by: kernel test robot Reviewed-by: Maximilian Luz Link: https://lore.kernel.org/r/20210319051919.GA39801@ae4f36e4f012 Signed-off-by: Hans de Goede --- diff --git a/drivers/platform/surface/surface_dtx.c b/drivers/platform/surface/surface_dtx.c index 85451eb94d98b..1fedacf740500 100644 --- a/drivers/platform/surface/surface_dtx.c +++ b/drivers/platform/surface/surface_dtx.c @@ -649,7 +649,7 @@ static u32 sdtx_notifier(struct ssam_event_notifier *nf, const struct ssam_event default: return 0; - }; + } if (in->length != len) { dev_err(ddev->dev,