提交 3e05146f 编写于 作者: A Andreas Gruenbacher 提交者: Philipp Reisner

drbd: Remove redundant check from drbd_contains_interval()

Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
上级 a500c2ef
......@@ -99,7 +99,7 @@ drbd_contains_interval(struct rb_root *root, sector_t sector,
else if (interval > here)
node = node->rb_right;
else
return interval->sector == sector;
return true;
}
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册