raid5: fix duplicate checks for rdev->saved_raid_disk
authorJackie Liu <liuyun01@kylinos.cn>
Thu, 7 Jul 2022 09:08:34 +0000 (17:08 +0800)
committerSong Liu <song@kernel.org>
Wed, 20 Jul 2022 06:03:35 +0000 (23:03 -0700)
commit211a3702d5aecd9f20823ebe7dcea5b915fae08f
tree7d9810535571b995f1e55e7c3be4746e3397b201
parent4500d5c1791058398698437d55dd6c24912e6067
raid5: fix duplicate checks for rdev->saved_raid_disk

'first' will always be greater than or equal to 0, it is unnecessary to
repeat the 0 check, clean it up.

Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/raid5.c