]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ebc723d4eb21f94ef0e6904da63eb0339d7f9d1
tree4980a2cacdd2f2b04e3a7158f873f3fc5a515e75
parent54000a0e83bcbed128c1dc9b3c6abb8152ae3728
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