Commit 2c795fb0 authored by Yu Zhe's avatar Yu Zhe Committed by akpm

ipc/mqueue: remove unnecessary (void*) conversion

Remove unnecessary void* type casting.

Link: https://lkml.kernel.org/r/20220628021251.17197-1-yuzhe@nfschina.comSigned-off-by: default avatarYu Zhe <yuzhe@nfschina.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 46d36b1b
...@@ -489,7 +489,7 @@ static struct vfsmount *mq_create_mount(struct ipc_namespace *ns) ...@@ -489,7 +489,7 @@ static struct vfsmount *mq_create_mount(struct ipc_namespace *ns)
static void init_once(void *foo) 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); inode_init_once(&p->vfs_inode);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment