Skip to content

Commit

Permalink
bsg: Remove unused function bsg_goose_queue()
Browse files Browse the repository at this point in the history
The function bsg_goose_queue() does not have any in-tree callers,
so let's remove it.

Signed-off-by: Bart Van Assche <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
bvanassche authored and axboe committed Dec 6, 2012
1 parent 24faf6f commit 80729be
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions block/bsg-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,19 +151,6 @@ static int bsg_create_job(struct device *dev, struct request *req)
return -ENOMEM;
}

/*
* bsg_goose_queue - restart queue in case it was stopped
* @q: request q to be restarted
*/
void bsg_goose_queue(struct request_queue *q)
{
if (!q)
return;

blk_run_queue_async(q);
}
EXPORT_SYMBOL_GPL(bsg_goose_queue);

/**
* bsg_request_fn - generic handler for bsg requests
* @q: request queue to manage
Expand Down
1 change: 0 additions & 1 deletion include/linux/bsg-lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,5 @@ void bsg_job_done(struct bsg_job *job, int result,
int bsg_setup_queue(struct device *dev, struct request_queue *q, char *name,
bsg_job_fn *job_fn, int dd_job_size);
void bsg_request_fn(struct request_queue *q);
void bsg_goose_queue(struct request_queue *q);

#endif

0 comments on commit 80729be

Please sign in to comment.