Commit 4a9428e1 authored by Yu Kuai's avatar Yu Kuai Committed by sanglipeng
Browse files

md/md-bitmap: remove unnecessary local variable in backlog_store()

stable inclusion
from stable-v5.10.195
commit 06494cd473e047cbc3c5f9d289b484288b917672
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I95JOC

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=06494cd473e047cbc3c5f9d289b484288b917672



--------------------------------

commit b4d12964 upstream.

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

Fixes: 8c13ab11 ("md/bitmap: don't set max_write_behind if there is no write mostly device")
Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20230706083727.608914-2-yukuai1@huaweicloud.com


Signed-off-by: default avatarSong Liu <song@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 1bfa5126
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment