2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00

drbd: Remove redundant check from drbd_contains_interval()

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
This commit is contained in:
Andreas Gruenbacher 2011-01-27 16:20:57 +01:00 committed by Philipp Reisner
parent a500c2efbb
commit 3e05146f0a

View File

@ -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;
}