Skip to contentSkip to conversation

mqueue: remove duplicated ; at end of statement

PATCH In review Colin Ian King 2 participants 2 messages Dec 19, 2025 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mqueue: remove duplicated ; at end of statement

There is a duplicated semicolon at the end of a statement, remove it.

---
 ipc/mqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ipc/mqueue.c +1 -1
index c4f6d65596cf..b4f671b76cd9 100644
@@ -912,7 +912,7 @@ static struct file *mqueue_file_open(struct filename *name,
 static int do_mq_open(const char __user *u_name, int oflag, umode_t mode,
 		      struct mq_attr *attr)
 {
-	struct filename *name __free(putname) = NULL;;
+	struct filename *name __free(putname) = NULL;
 	struct vfsmount *mnt = current->nsproxy->ipc_ns->mq_mnt;
 	int fd, ro;
 
Signature · 1 line
2.51.0
#1 lore raw
Quoted 2 lines · Colin Ian King

There is a duplicated semicolon at the end of a statement, remove it.

FWIW, that's dealt with in the series I've posted lately - see viro/vfs.git #work.filename, if you prefer to look at it in git. I'm going to put that into -next this weekend, assuming nobody posts objections.