summaryrefslogtreecommitdiffstats
path: root/ipc/mqueue.c
diff options
context:
space:
mode:
authorYu Zhe <yuzhe@nfschina.com>2022-06-28 04:12:51 +0200
committerakpm <akpm@linux-foundation.org>2022-07-18 02:31:40 +0200
commit2c795fb03f138e9602e1f1ee31b8bfc00a96c7e5 (patch)
tree8621965ccfd1e2df0cef85fa131ee7d1ca1a10b0 /ipc/mqueue.c
parentkdump: round up the total memory size to 128M for crashkernel reservation (diff)
downloadlinux-2c795fb03f138e9602e1f1ee31b8bfc00a96c7e5.tar.xz
linux-2c795fb03f138e9602e1f1ee31b8bfc00a96c7e5.zip
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);
}