diff options
author | Bart Van Assche <bvanassche@acm.org> | 2021-02-21 18:28:05 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-22 06:33:48 -0700 |
commit | 9fb407179c6fd910005040bebb040094ef959b6c (patch) | |
tree | 528e01ade4126faf057546ca927403b2d8fafc31 /include/trace/events/block.h | |
parent | 31caf8b2a847214be856f843e251fc2ed2cd1075 (diff) | |
download | linux-9fb407179c6fd910005040bebb040094ef959b6c.tar.bz2 |
block: Remove unused blk_pm_*() function definitions
Commit a1ce35fa4985 ("block: remove dead elevator code") removed the last
callers of blk_pm_requeue_request(), blk_pm_add_request() and
blk_pm_put_request(). Hence remove the definitions of these functions.
Removing these functions removes all users of the struct request nr_pending
member. Hence also remove 'nr_pending'. Note: 'nr_pending' is no longer
used since commit 7cedffec8e75 ("block: Make blk_get_request() block for
non-PM requests while suspended").
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/trace/events/block.h')
0 files changed, 0 insertions, 0 deletions