diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-03-30 09:52:30 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-04-05 23:51:37 +0200 |
commit | b710a480554f2be682bac3cb59b0e085ba3d644b (patch) | |
tree | bd1b9d5080bca2b35c861ddbc98d4116445bebfb /include | |
parent | block: dump request state on seeing a corrupted request completion (diff) | |
download | linux-b710a480554f2be682bac3cb59b0e085ba3d644b.tar.xz linux-b710a480554f2be682bac3cb59b0e085ba3d644b.zip |
block: get rid of elv_insert() interface
Merge it with __elv_add_request(), it's pretty pointless to
have a function with only two callers. The main interface
is elv_add_request()/__elv_add_request().
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/elevator.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/elevator.h b/include/linux/elevator.h index d93efcc44570..21a8ebf2dc3a 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h @@ -101,7 +101,6 @@ extern void elv_dispatch_sort(struct request_queue *, struct request *); extern void elv_dispatch_add_tail(struct request_queue *, struct request *); extern void elv_add_request(struct request_queue *, struct request *, int); extern void __elv_add_request(struct request_queue *, struct request *, int); -extern void elv_insert(struct request_queue *, struct request *, int); extern int elv_merge(struct request_queue *, struct request **, struct bio *); extern int elv_try_merge(struct request *, struct bio *); extern void elv_merge_requests(struct request_queue *, struct request *, |