Skip to content

Commit 2c795fb

Browse files
yuzhenfschinaakpm00
authored andcommitted
ipc/mqueue: remove unnecessary (void*) conversion
Remove unnecessary void* type casting. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yu Zhe <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 46d36b1 commit 2c795fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipc/mqueue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ static struct vfsmount *mq_create_mount(struct ipc_namespace *ns)
489489

490490
static void init_once(void *foo)
491491
{
492-
struct mqueue_inode_info *p = (struct mqueue_inode_info *) foo;
492+
struct mqueue_inode_info *p = foo;
493493

494494
inode_init_once(&p->vfs_inode);
495495
}

0 commit comments

Comments
 (0)