Commit 2a9df505 authored by Kiyoshi Ueda's avatar Kiyoshi Ueda Committed by Jens Axboe
Browse files

memstick: change to use __blk_end_request()

This patch converts memstick to use __blk_end_request() directly
so that end_{queued|dequeued}_request() can be removed.
Signed-off-by: default avatarKiyoshi Ueda <>
Signed-off-by: default avatarJun'ichi Nomura <>
Cc: Alex Dubov <>
Signed-off-by: default avatarJens Axboe <>
parent 8316982a
......@@ -828,7 +828,7 @@ static void mspro_block_submit_req(struct request_queue *q)
if (msb->eject) {
while ((req = elv_next_request(q)) != NULL)
end_queued_request(req, -ENODEV);
__blk_end_request(req, -ENODEV, blk_rq_bytes(req));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment