aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-25 14:24:14 -0700
committerJens Axboe <axboe@kernel.dk>2017-08-25 15:29:45 -0600
commitf5cb2d51524a1218bb0c5d8b234044e9104f7062 (patch)
tree2e8a43324f49cca14508d313d7ab11bf94bb76ca /block
parentskd: Make it easier for static analyzers to analyze skd_free_disk() (diff)
downloadlinux-dev-f5cb2d51524a1218bb0c5d8b234044e9104f7062.tar.xz
linux-dev-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')
0 files changed, 0 insertions, 0 deletions