projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46d36b1
)
ipc/mqueue: remove unnecessary (void*) conversion
author
Yu Zhe
<yuzhe@nfschina.com>
Tue, 28 Jun 2022 02:12:51 +0000
(10:12 +0800)
committer
akpm
<akpm@linux-foundation.org>
Mon, 18 Jul 2022 00:31:40 +0000
(17:31 -0700)
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>
ipc/mqueue.c
patch
|
blob
|
history
diff --git
a/ipc/mqueue.c
b/ipc/mqueue.c
index
12ad786
..
f98de32
100644
(file)
--- 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);
}