diff options
author | Coly Li <colyli@suse.de> | 2020-10-01 08:50:50 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-02 22:25:30 +0200 |
commit | 421cf1c573b18b0d770a4a47aefa3199eb5b94cf (patch) | |
tree | 9cc38bf238a3a4b686a1a7d3c35bf43c37c34852 /drivers/md | |
parent | bcache: only use block_bytes() on struct cache (diff) | |
download | linux-421cf1c573b18b0d770a4a47aefa3199eb5b94cf.tar.xz linux-421cf1c573b18b0d770a4a47aefa3199eb5b94cf.zip |
bcache: remove useless alloc_bucket_pages()
Now no one uses alloc_bucket_pages() anymore, remove it from bcache.h.
Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/bcache/super.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index 7f148489a2d8..3a79790f5fab 100644 --- a/drivers/md/bcache/super.c +++ b/drivers/md/bcache/super.c @@ -1831,9 +1831,6 @@ void bch_cache_set_unregister(struct cache_set *c) bch_cache_set_stop(c); } -#define alloc_bucket_pages(gfp, c) \ - ((void *) __get_free_pages(__GFP_ZERO|__GFP_COMP|gfp, ilog2(bucket_pages(c)))) - #define alloc_meta_bucket_pages(gfp, sb) \ ((void *) __get_free_pages(__GFP_ZERO|__GFP_COMP|gfp, ilog2(meta_bucket_pages(sb)))) |