dm-raid: remove useless checking in raid_message()
authorYu Kuai <yukuai3@huawei.com>
Tue, 23 May 2023 02:10:14 +0000 (10:10 +0800)
committerSong Liu <song@kernel.org>
Tue, 13 Jun 2023 22:25:13 +0000 (15:25 -0700)
commit955a257d69e44cea09b0375b8f2f3d4d9fcf7b4e
tree927278c5d5ac9dc1b298028192ab227a61fc335e
parente5e9b9cb71a09d86d5e8d147e6a6457e1f8887b5
dm-raid: remove useless checking in raid_message()

md_wakeup_thread() handle the case that pass in md_thread is NULL, there
is no need to check this.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230523021017.3048783-3-yukuai1@huaweicloud.com
drivers/md/dm-raid.c