mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
md/raid5-cache: delete meaningless code
sector_t is unsigned long, it's never < 0 Reported-by: Julia Lawall <[email protected]> Signed-off-by: Shaohua Li <[email protected]>
This commit is contained in:
parent
557ed56cc7
commit
d46d29f072
1 changed files with 0 additions and 2 deletions
|
|
@ -1393,8 +1393,6 @@ static void r5l_do_reclaim(struct r5l_log *log)
|
|||
next_checkpoint = r5c_calculate_new_cp(conf);
|
||||
spin_unlock_irq(&log->io_list_lock);
|
||||
|
||||
BUG_ON(reclaimable < 0);
|
||||
|
||||
if (reclaimable == 0 || !write_super)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue