mbox series

[0/2] blk-mq/sbitmap: Delete some unused functions

Message ID 1573666042-176756-1-git-send-email-john.garry@huawei.com
Headers show
Series blk-mq/sbitmap: Delete some unused functions | expand

Message

John Garry Nov. 13, 2019, 5:27 p.m. UTC
Function blk_mq_can_queue() never seemed to ever have been referenced, so
delete it and any other now-unused callees.

John Garry (2):
  blk-mq: Delete blk_mq_has_free_tags() and blk_mq_can_queue()
  sbitmap: Delete sbitmap_any_bit_clear()

 block/blk-mq-tag.c      |  8 --------
 block/blk-mq-tag.h      |  1 -
 block/blk-mq.c          |  6 ------
 include/linux/blk-mq.h  |  1 -
 include/linux/sbitmap.h |  9 ---------
 lib/sbitmap.c           | 17 -----------------
 6 files changed, 42 deletions(-)

-- 
2.17.1

Comments

Jens Axboe Nov. 13, 2019, 7:51 p.m. UTC | #1
On 11/13/19 10:27 AM, John Garry wrote:
> Function blk_mq_can_queue() never seemed to ever have been referenced, so

> delete it and any other now-unused callees.


Great, I like killing dead code. Applied for 5.5, thanks.

-- 
Jens Axboe