Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bart Van Assche and committed by
Jens Axboe
80729beb 24faf6f6

-14
-13
block/bsg-lib.c
··· 151 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 - */ 158 - void bsg_goose_queue(struct request_queue *q) 159 - { 160 - if (!q) 161 - return; 162 - 163 - blk_run_queue_async(q); 164 - } 165 - EXPORT_SYMBOL_GPL(bsg_goose_queue); 166 - 167 154 /** 168 155 * bsg_request_fn - generic handler for bsg requests 169 156 * @q: request queue to manage
-1
include/linux/bsg-lib.h
··· 67 67 int bsg_setup_queue(struct device *dev, struct request_queue *q, char *name, 68 68 bsg_job_fn *job_fn, int dd_job_size); 69 69 void bsg_request_fn(struct request_queue *q); 70 - void bsg_goose_queue(struct request_queue *q); 71 70 72 71 #endif