Re: [PATCH] block: Remove unused blk_pm_*() function definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/21/21 18:29, Bart Van Assche wrote:
> 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@xxxxxxxxxxxxxxxxxxx>
> Cc: Christoph Hellwig <hch@xxxxxx>
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx>





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux