summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2017-08-29 11:54:37 +0900
committerJens Axboe <axboe@kernel.dk>2017-08-29 09:49:31 -0600
commit5034435c84bea5e92c6a7dee70b51f0c0e441a51 (patch)
tree4efd5fc204c85bbfc2a5be9fc57a1bc52f228196 /block/blk-core.c
parent6fd5b91dab08106822f3c95a343e6724e88f0951 (diff)
downloadlinux-5034435c84bea5e92c6a7dee70b51f0c0e441a51.tar.gz
linux-5034435c84bea5e92c6a7dee70b51f0c0e441a51.tar.bz2
linux-5034435c84bea5e92c6a7dee70b51f0c0e441a51.zip
block: Make blk_dequeue_request() static
The only caller of this function is blk_start_request() in the same file. Fix blk_start_request() description accordingly. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index fc1af9097dff..d709c0e3a2ac 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -2615,7 +2615,7 @@ struct request *blk_peek_request(struct request_queue *q)
}
EXPORT_SYMBOL(blk_peek_request);
-void blk_dequeue_request(struct request *rq)
+static void blk_dequeue_request(struct request *rq)
{
struct request_queue *q = rq->q;
@@ -2642,9 +2642,6 @@ void blk_dequeue_request(struct request *rq)
* Description:
* Dequeue @req and start timeout timer on it. This hands off the
* request to the driver.
- *
- * Block internal functions which don't want to start timer should
- * call blk_dequeue_request().
*/
void blk_start_request(struct request *req)
{