diff options
| author | Kemeng Shi <[email protected]> | 2024-01-05 09:20:58 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2024-01-18 15:52:45 +0000 |
| commit | 908177175a2ac7280cac738f33ccbbbcff035c5c (patch) | |
| tree | 0b6fdff49c49028e62eddc9f25ca79b7aae10419 /fs/ext4/mballoc.c | |
| parent | ext4: remove unused ext4_allocation_context::ac_groups_considered (diff) | |
| download | kernel-908177175a2ac7280cac738f33ccbbbcff035c5c.tar.gz kernel-908177175a2ac7280cac738f33ccbbbcff035c5c.zip | |
ext4: remove unused return value of ext4_mb_release
Remove unused return value of ext4_mb_release.
Signed-off-by: Kemeng Shi <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/mballoc.c')
| -rw-r--r-- | fs/ext4/mballoc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index dfd2de7aa0cf..26b199d2c330 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c @@ -3750,7 +3750,7 @@ static int ext4_mb_cleanup_pa(struct ext4_group_info *grp) return count; } -int ext4_mb_release(struct super_block *sb) +void ext4_mb_release(struct super_block *sb) { ext4_group_t ngroups = ext4_get_groups_count(sb); ext4_group_t i; @@ -3826,8 +3826,6 @@ int ext4_mb_release(struct super_block *sb) } free_percpu(sbi->s_locality_groups); - - return 0; } static inline int ext4_issue_discard(struct super_block *sb, |
