bcache: remove dupplicated declaration from btree.h
authorColy Li <colyli@suse.de>
Wed, 25 Mar 2020 01:30:57 +0000 (09:30 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 Mar 2020 01:56:42 +0000 (19:56 -0600)
commit5ae3a2c03d1f5b33f53ce2ba2e57773fc8b35128
tree55138cd8d328fc8f4dba8d102f864cb801f797ac
parenteb9b6666d6ca6f3d9f218fa23ec6135eee1ac3a7
bcache: remove dupplicated declaration from btree.h

Commit 253a99d95d5b ("bcache: move macro btree() and btree_root()
into btree.h") makes two duplicated declaration into btree.h,
typedef int (btree_map_keys_fn)();
int bch_btree_map_keys();

The kbuild test robot <lkp@intel.com> detects and reports this
problem and this patch fixes it by removing the duplicated ones.

Fixes: 253a99d95d5b ("bcache: move macro btree() and btree_root() into btree.h")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/btree.h