Skip to content

Commit

Permalink
ipc/mqueue: remove unnecessary (void*) conversion
Browse files Browse the repository at this point in the history
Remove unnecessary void* type casting.

Link: https://lkml.kernel.org/r/20220628021251.17197-1-yuzhe@nfschina.com
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
yuzhenfschina authored and akpm00 committed Jul 18, 2022
1 parent 46d36b1 commit 2c795fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipc/mqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2c795fb

Please sign in to comment.