md: simplify the code with md_kick_rdev_from_array
authorGuoqing Jiang <gqjiang@suse.com>
Fri, 3 Jun 2016 03:32:05 +0000 (23:32 -0400)
committerShaohua Li <shli@fb.com>
Fri, 3 Jun 2016 23:23:02 +0000 (16:23 -0700)
commitdb76767213be6c6db1b1344621511e27e9984fbb
tree3c22d041574d4fbeb9b97c401267028fd83c199a
parentbb8bf15bd6f7c3432ce9ad631f2f59c49c1e1853
md: simplify the code with md_kick_rdev_from_array

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