md/raid5-cache: removes unnecessary write-through mode judgments
authorJackieLiu <liuyun01@kylinos.cn>
Tue, 13 Dec 2016 05:55:27 +0000 (13:55 +0800)
committerShaohua Li <shli@fb.com>
Thu, 5 Jan 2017 19:44:37 +0000 (11:44 -0800)
commit28ca833ecf89c585a9543fb21aef6b2bdbbaa48a
tree457f2758a225d6c5d4c8b5a2805761b03a170e47
parentbb5f1ed70bc3bbbce510907da3432dab267ff508
md/raid5-cache: removes unnecessary write-through mode judgments

The write-through mode has been returned in front of the function,
do not need to do it again.

Signed-off-by: JackieLiu <liuyun01@kylinos.cn>
Reviewed-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5-cache.c