raid1: remove obsolete code in raid1_write_request
authorGuoqing Jiang <gqjiang@suse.com>
Tue, 24 Oct 2017 07:33:33 +0000 (15:33 +0800)
committerShaohua Li <shli@fb.com>
Thu, 2 Nov 2017 04:32:24 +0000 (21:32 -0700)
commitf81f7302e86f5c0a21b59c94164f2510812b7764
treeb322717c9b2f2bae2ce792d13029232b246a76d8
parent8db87912c9a8771c53b98845cd5516ea63b22e1e
raid1: remove obsolete code in raid1_write_request

There are some lines could be removed due to recent
change for raid1 such as commit 3956df15d634 ("md:
move suspend_hi/lo handling into core md code").

Also, seems some comments are put to wrong place,
move them before wait_barrier.

Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid1.c