Skip to content
Commit a20d636b authored by Jackie Liu's avatar Jackie Liu Committed by Jens Axboe
Browse files

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: default avatarJackie Liu <liuyun01@kylinos.cn>
Signed-off-by: default avatarSong Liu <song@kernel.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 5b26804b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment