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:
parent
a500c2efbb
commit
3e05146f0a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user