]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit113d037442f8a80f7426a22a15d1dc7303cf2a8c
tree55138cd8d328fc8f4dba8d102f864cb801f797ac
parent01e35864a03c2fd3de7af591cdb457a745f6c203
bcache: remove dupplicated declaration from btree.h

Commit 54ffc0269ad1 ("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: 54ffc0269ad1 ("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