]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: remove unused parameter from ext4_mb_new_blocks_simple()
authorKemeng Shi <shikemeng@huaweicloud.com>
Sat, 3 Jun 2023 15:03:17 +0000 (23:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jun 2024 11:39:32 +0000 (13:39 +0200)
commit5267b649a95610e433b6fe7321b0b60508340311
treeb98a52c76453b8983b9452c76f82f69f84e3b9e1
parent778b1ac4d6728fb709f927aebaac61f7eb672fba
ext4: remove unused parameter from ext4_mb_new_blocks_simple()

[ Upstream commit ad78b5efe4246e5deba8d44a6ed172b8a00d3113 ]

Two cleanups for ext4_mb_new_blocks_simple:
Remove unused parameter handle of ext4_mb_new_blocks_simple.
Move ext4_mb_new_blocks_simple definition before ext4_mb_new_blocks to
remove unnecessary forward declaration of ext4_mb_new_blocks_simple.

Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://lore.kernel.org/r/20230603150327.3596033-10-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Stable-dep-of: 3f4830abd236 ("ext4: fix potential unnitialized variable")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ext4/mballoc.c