aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorYu Zhe <yuzhe@nfschina.com>2022-04-01 01:13:21 -0700
committerTheodore Ts'o <tytso@mit.edu>2022-05-11 15:19:06 -0400
commitc30365b90ab26fa991751119cde047312d370cab (patch)
treef51f8fb0e20d3276f69e074f639fe218c24c634b /fs/ext4/mballoc.c
parentext4: fix warning in ext4_handle_inode_extension (diff)
downloadlinux-dev-c30365b90ab26fa991751119cde047312d370cab.tar.xz
linux-dev-c30365b90ab26fa991751119cde047312d370cab.zip
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/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 252c168454c7..dcb81352b864 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -2919,7 +2919,7 @@ const struct seq_operations ext4_mb_seq_groups_ops = {
int ext4_seq_mb_stats_show(struct seq_file *seq, void *offset)
{
- struct super_block *sb = (struct super_block *)seq->private;
+ struct super_block *sb = seq->private;
struct ext4_sb_info *sbi = EXT4_SB(sb);
seq_puts(seq, "mballoc:\n");