diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-25 23:24:14 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-25 23:29:45 +0200 |
commit | f5cb2d51524a1218bb0c5d8b234044e9104f7062 (patch) | |
tree | 2e8a43324f49cca14508d313d7ab11bf94bb76ca /block/mq-deadline.c | |
parent | skd: Make it easier for static analyzers to analyze skd_free_disk() (diff) | |
download | linux-f5cb2d51524a1218bb0c5d8b234044e9104f7062.tar.xz linux-f5cb2d51524a1218bb0c5d8b234044e9104f7062.zip |
skd: Remove SKD_ID_INCR
The SKD_ID_INCR flag in skd_request_context.id duplicates information
that is already available otherwise, e.g. through the block layer
request state and through skd_request_context.state. Hence remove
the code that manipulates this flag and also the flag itself.
Since skd_isr_completion_posted() only uses the lower bits of
skd_request_context.id as hardware tag, this patch does not change
the behavior of the skd driver. I'm referring to the following code:
tag = req_id & SKD_ID_SLOT_AND_TABLE_MASK;
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions