raid1: simplify raid1_error function
authorYufen Yu <yuyufen@huawei.com>
Fri, 1 Feb 2019 02:45:01 +0000 (10:45 +0800)
committerSong Liu <songliubraving@fb.com>
Mon, 4 Feb 2019 18:37:11 +0000 (10:37 -0800)
commitebda52fa1be73952ec603b1fad685ce86ccb5ee6
treefc21bccb14f3e38d21485352da084cdbad009252
parentf1e5b6239bdd46aa3f4e631611800ea7d10826c4
raid1: simplify raid1_error function

Remove redundance set_bit and let code simplify.

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid1.c