summaryrefslogtreecommitdiff
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorYu Zhe <yuzhe@nfschina.com>2022-04-01 11:13:21 +0300
committerTheodore Ts'o <tytso@mit.edu>2022-05-11 22:19:06 +0300
commitc30365b90ab26fa991751119cde047312d370cab (patch)
treef51f8fb0e20d3276f69e074f639fe218c24c634b /fs/ext4/super.c
parentf4534c9fc94d22383f187b9409abb3f9df2e3db3 (diff)
downloadlinux-c30365b90ab26fa991751119cde047312d370cab.tar.xz
ext4: remove unnecessary type castings
remove unnecessary void* type castings. Signed-off-by: Yu Zhe <yuzhe@nfschina.com> Link: https://lore.kernel.org/r/20220401081321.73735-1-yuzhe@nfschina.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 218f6bc83368..b70ab3d3165d 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1397,7 +1397,7 @@ static void ext4_destroy_inode(struct inode *inode)
static void init_once(void *foo)
{
- struct ext4_inode_info *ei = (struct ext4_inode_info *) foo;
+ struct ext4_inode_info *ei = foo;
INIT_LIST_HEAD(&ei->i_orphan);
init_rwsem(&ei->xattr_sem);
@@ -3836,7 +3836,7 @@ static struct task_struct *ext4_lazyinit_task;
*/
static int ext4_lazyinit_thread(void *arg)
{
- struct ext4_lazy_init *eli = (struct ext4_lazy_init *)arg;
+ struct ext4_lazy_init *eli = arg;
struct list_head *pos, *n;
struct ext4_li_request *elr;
unsigned long next_wakeup, cur;