2021-04-15 03:16:29

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] m68k: Remove unneeded semicolon

Fix the following coccicheck warning:

./arch/m68k/include/asm/sun3xflop.h:109:2-3: Unneeded semicolon

Signed-off-by: Wan Jiabing <[email protected]>
---
arch/m68k/include/asm/sun3xflop.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/m68k/include/asm/sun3xflop.h b/arch/m68k/include/asm/sun3xflop.h
index 93f2a8431c0e..bce8aabb5380 100644
--- a/arch/m68k/include/asm/sun3xflop.h
+++ b/arch/m68k/include/asm/sun3xflop.h
@@ -106,7 +106,7 @@ static void sun3x_82072_fd_outb(unsigned char value, int port)
case 4: /* FD_STATUS */
*(sun3x_fdc.status_r) = value;
break;
- };
+ }
return;
}

--
2.25.1


2021-04-15 07:02:55

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH] m68k: Remove unneeded semicolon

On Thu, Apr 15, 2021 at 5:15 AM Wan Jiabing <[email protected]> wrote:
> Fix the following coccicheck warning:
>
> ./arch/m68k/include/asm/sun3xflop.h:109:2-3: Unneeded semicolon
>
> Signed-off-by: Wan Jiabing <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>
i.e. will queue in the m68k for-v5.14 branch.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds