mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
block: remove blk_init_flush() and its pair
Now mission of the two helpers is over, and just call blk_alloc_flush_queue() and blk_free_flush_queue() directly. Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
7c94e1c157
commit
ba483388e3
5 changed files with 10 additions and 23 deletions
|
|
@ -39,8 +39,8 @@ static inline void __blk_get_queue(struct request_queue *q)
|
|||
kobject_get(&q->kobj);
|
||||
}
|
||||
|
||||
int blk_init_flush(struct request_queue *q);
|
||||
void blk_exit_flush(struct request_queue *q);
|
||||
struct blk_flush_queue *blk_alloc_flush_queue(struct request_queue *q);
|
||||
void blk_free_flush_queue(struct blk_flush_queue *fq);
|
||||
|
||||
int blk_init_rl(struct request_list *rl, struct request_queue *q,
|
||||
gfp_t gfp_mask);
|
||||
|
|
|
|||
Loading…
Reference in a new issue