OSDN Git Service

bcache: remove macro nr_to_fifo_front()
authorColy Li <colyli@suse.de>
Thu, 13 Feb 2020 14:12:07 +0000 (22:12 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Feb 2020 15:53:50 +0000 (08:53 -0700)
commit4ec31cb6241d95879aac337cc6b50c45dd10cfcb
tree92f044a8c695a5de4f6044ad14e69c708d038a12
parent309cc719a2c869b71a7388209a0a80d4284d98fd
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: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/journal.c