summaryrefslogtreecommitdiff
path: root/ipc/mqueue.c
diff options
context:
space:
mode:
authorYu Zhe <yuzhe@nfschina.com>2022-06-28 05:12:51 +0300
committerakpm <akpm@linux-foundation.org>2022-07-18 03:31:40 +0300
commit2c795fb03f138e9602e1f1ee31b8bfc00a96c7e5 (patch)
tree8621965ccfd1e2df0cef85fa131ee7d1ca1a10b0 /ipc/mqueue.c
parent46d36b1be18b745fc9f6be2087633ba2f9895ffe (diff)
downloadlinux-2c795fb03f138e9602e1f1ee31b8bfc00a96c7e5.tar.xz
ipc/mqueue: remove unnecessary (void*) conversion
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>
Diffstat (limited to 'ipc/mqueue.c')
-rw-r--r--ipc/mqueue.c2
1 files changed, 1 insertions, 1 deletions
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);
}