md: remove unnecessary check on mddev
authorMing Lei <tom.leiming@gmail.com>
Tue, 14 Feb 2017 15:29:02 +0000 (23:29 +0800)
committerShaohua Li <shli@fb.com>
Wed, 15 Feb 2017 19:24:13 +0000 (11:24 -0800)
commited7ef732ca9f7d6f42be8df6cc7bf4ace3534af3
tree4980a2cacdd2f2b04e3a7158f873f3fc5a515e75
parent8e58e327e25c7fffc3fb79a24c76637bdda37716
md: remove unnecessary check on mddev

mddev is never NULL and neither is ->bio_set, so
remove the check.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.c