aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2012-11-28 07:47:36 -0500
committerJens Axboe <axboe@kernel.dk>2012-12-06 08:33:02 -0500
commit80729beb3326fd682543f4f4ea534df47ab48967 (patch)
treef8d2c70a4edc39b571f4d772972628de017f04eb /block
parent24faf6f604efe18236bded4303009fc252913bf0 (diff)
bsg: Remove unused function bsg_goose_queue()
The function bsg_goose_queue() does not have any in-tree callers, so let's remove it. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/bsg-lib.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/block/bsg-lib.c b/block/bsg-lib.c
index deee61fbb741..650f427d915b 100644
--- a/block/bsg-lib.c
+++ b/block/bsg-lib.c
@@ -151,19 +151,6 @@ failjob_rls_job:
151 return -ENOMEM; 151 return -ENOMEM;
152} 152}
153 153
154/*
155 * bsg_goose_queue - restart queue in case it was stopped
156 * @q: request q to be restarted
157 */
158void bsg_goose_queue(struct request_queue *q)
159{
160 if (!q)
161 return;
162
163 blk_run_queue_async(q);
164}
165EXPORT_SYMBOL_GPL(bsg_goose_queue);
166
167/** 154/**
168 * bsg_request_fn - generic handler for bsg requests 155 * bsg_request_fn - generic handler for bsg requests
169 * @q: request queue to manage 156 * @q: request queue to manage