diff options
author | Jackie Liu <liuyun01@kylinos.cn> | 2022-07-07 11:08:34 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-03 01:22:46 +0200 |
commit | a20d636bee41ea67b382207bee216e70f7206752 (patch) | |
tree | 3f1ed84a79877e66076ec9ac8190c924a4d86f5d /drivers/platform | |
parent | md: simplify md_open (diff) | |
download | linux-a20d636bee41ea67b382207bee216e70f7206752.tar.xz linux-a20d636bee41ea67b382207bee216e70f7206752.zip |
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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions