[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220628021251.17197-1-yuzhe@nfschina.com>
Date: Tue, 28 Jun 2022 10:12:51 +0800
From: Yu Zhe <yuzhe@...china.com>
To: akpm@...ux-foundation.org, ebiederm@...ssion.com,
roman.gushchin@...ux.dev, tytso@....edu, longman@...hat.com,
legion@...nel.org, songmuchun@...edance.com
Cc: linux-kernel@...r.kernel.org, liqiong@...china.com,
Yu Zhe <yuzhe@...china.com>
Subject: [PATCH] ipc/mqueue: remove unnecessary (void*) conversions.
remove unnecessary void* type casting.
Signed-off-by: Yu Zhe <yuzhe@...china.com>
---
ipc/mqueue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 12ad7860bb88..f98de32aeea1 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -489,7 +489,7 @@ static struct vfsmount *mq_create_mount(struct ipc_namespace *ns)
static void init_once(void *foo)
{
- struct mqueue_inode_info *p = (struct mqueue_inode_info *) foo;
+ struct mqueue_inode_info *p = foo;
inode_init_once(&p->vfs_inode);
}
--
2.11.0
Powered by blists - more mailing lists