Commit 3e05146f authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Philipp Reisner

drbd: Remove redundant check from drbd_contains_interval()

Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
parent a500c2ef
...@@ -99,7 +99,7 @@ drbd_contains_interval(struct rb_root *root, sector_t sector, ...@@ -99,7 +99,7 @@ drbd_contains_interval(struct rb_root *root, sector_t sector,
else if (interval > here) else if (interval > here)
node = node->rb_right; node = node->rb_right;
else else
return interval->sector == sector; return true;
} }
return false; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment