diff options
author | Bart Van Assche <bvanassche@acm.org> | 2022-06-15 15:55:47 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-06-27 06:29:11 -0600 |
commit | 62c159a03da92121b1b909fd8039028de97885fc (patch) | |
tree | 26a05eb8cf4e53f5dfe447d37c66ad053a56e9c0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 798f2a6f734de87633351c3ab13b17b07397cf68 (diff) |
blk-iocost: Simplify ioc_rqos_done()
Leave out the superfluous "& REQ_OP_MASK" code. The definition of req_op()
shows that that code is superfluous:
#define req_op(req) ((req)->cmd_flags & REQ_OP_MASK)
Compile-tested only.
Cc: Tejun Heo <tj@kernel.org>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220615225549.1054905-2-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions