linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mic: vop: remove unneeded semicolon
@ 2020-10-31 15:22 trix
  2020-11-09 17:41 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: trix @ 2020-10-31 15:22 UTC (permalink / raw)
  To: sudeep.dutt, ashutosh.dixit, arnd, gregkh, qiangqing.zhang, sherry.sun
  Cc: linux-kernel, Tom Rix

From: Tom Rix <trix@redhat.com>

A semicolon is not needed after a switch statement.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/misc/mic/vop/vop_vringh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/mic/vop/vop_vringh.c b/drivers/misc/mic/vop/vop_vringh.c
index 7014ffe88632..3ef8c63e5cc6 100644
--- a/drivers/misc/mic/vop/vop_vringh.c
+++ b/drivers/misc/mic/vop/vop_vringh.c
@@ -1010,7 +1010,7 @@ static long vop_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
 	}
 	default:
 		return -ENOIOCTLCMD;
-	};
+	}
 	return 0;
 }
 
-- 
2.18.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mic: vop: remove unneeded semicolon
  2020-10-31 15:22 [PATCH] mic: vop: remove unneeded semicolon trix
@ 2020-11-09 17:41 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2020-11-09 17:41 UTC (permalink / raw)
  To: trix
  Cc: sudeep.dutt, ashutosh.dixit, arnd, qiangqing.zhang, sherry.sun,
	linux-kernel

On Sat, Oct 31, 2020 at 08:22:58AM -0700, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
> 
> A semicolon is not needed after a switch statement.
> 
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
>  drivers/misc/mic/vop/vop_vringh.c | 2 +-

This file is no longer in the kernel tree at all :)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-09 17:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-31 15:22 [PATCH] mic: vop: remove unneeded semicolon trix
2020-11-09 17:41 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).