Skip to content
Commit 4ec31cb6 authored by Coly Li's avatar Coly Li Committed by Jens Axboe
Browse files

bcache: remove macro nr_to_fifo_front()



Macro nr_to_fifo_front() is only used once in btree_flush_write(),
it is unncessary indeed. This patch removes this macro and does
calculation directly in place.

Signed-off-by: default avatarColy Li <colyli@suse.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 309cc719
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