diff options
author | Bart Van Assche <[email protected]> | 2023-02-10 11:32:57 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-02-21 22:00:51 -0500 |
commit | 93bc4a5d00e472003ae983bb21febd2519a64f62 (patch) | |
tree | 51afbf201d716917de2917c3c93f3c0fac83d5dc /net/lapb/lapb_iface.c | |
parent | 35cd2f5542df569122d48caf606b972642012c50 (diff) |
scsi: ufs: core: Rely on the block layer for setting RQF_PM
Do not set RQF_PM explicitly since scsi_alloc_request() sets it indirectly
if BLK_MQ_REQ_PM is set. The call chain for the code that sets RQF_PM is as
follows:
scsi_alloc_request()
blk_mq_alloc_request()
__blk_mq_alloc_requests()
blk_mq_rq_ctx_init()
if (data->flags & BLK_MQ_REQ_PM)
data->rq_flags |= RQF_PM;
Link: https://lore.kernel.org/r/[email protected]
Cc: Mike Christie <[email protected]>
Cc: John Garry <[email protected]>
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions