]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb533032176a3337c53309d99fa6de9a5ada18289
tree92f044a8c695a5de4f6044ad14e69c708d038a12
parent0274899903d560bccaca7db3f052d923b4466c96
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