diff options
| author | Li Nan <[email protected]> | 2023-05-22 16:53:55 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-05-23 11:09:26 -0600 |
| commit | 712fd23a90eed6a73ea5135a500e59d30356d4f1 (patch) | |
| tree | e6ce0818cc0e0218b346bdc156f4ce22b0fcd39d /tools/perf/scripts/python/task-analyzer.py | |
| parent | b8b637d770ef7aa9bc3971670cc8532b1f0d757e (diff) | |
block: remove redundant req_op in blk_rq_is_passthrough
op &= REQ_OP_MASK in blk_op_is_passthrough() is exactly what req_op() do.
Therefore, it is redundant to call req_op() for blk_op_is_passthrough().
Signed-off-by: Li Nan <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions