]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
md/md-bitmap: remove unnecessary local variable in backlog_store()
authorYu Kuai <yukuai3@huawei.com>
Thu, 6 Jul 2023 08:37:26 +0000 (16:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:14 +0000 (09:48 +0200)
commit7d9b926c4c05e7777990b4614f7863f85909c94e
treebd06bb49c4458c59e4168166dec5729103420bf8
parent4574db58e3d4c3eed463c429b3080f0e5ff64441
md/md-bitmap: remove unnecessary local variable in backlog_store()

[ Upstream commit b4d129640f194ffc4cc64c3e97f98ae944c072e8 ]

Local variable is definied first in the beginning of backlog_store(),
there is no need to define it again.

Fixes: 8c13ab115b57 ("md/bitmap: don't set max_write_behind if there is no write mostly device")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20230706083727.608914-2-yukuai1@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/md-bitmap.c