summaryrefslogtreecommitdiffstats
path: root/include/linux/elevator.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-05-01 08:58:49 -0700
committerJens Axboe <axboe@fb.com>2017-05-02 07:52:08 -0600
commitc0332694903a37cf8ecdc9102d5c9e09cf8643d0 (patch)
tree3adf45276fdb1217e035696ef456426594ad00d0 /include/linux/elevator.h
parent08c521a2011ff492490aa9ed6cc574be4235ce2b (diff)
downloadlinux-c0332694903a37cf8ecdc9102d5c9e09cf8643d0.tar.gz
linux-c0332694903a37cf8ecdc9102d5c9e09cf8643d0.tar.bz2
linux-c0332694903a37cf8ecdc9102d5c9e09cf8643d0.zip
block: Remove elevator_change()
Since commit 84253394927c ("remove the mg_disk driver") removed the only caller of elevator_change(), also remove the elevator_change() function itself. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Markus Trippelsdorf <markus@trippelsdorf.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/elevator.h')
-rw-r--r--include/linux/elevator.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/elevator.h b/include/linux/elevator.h
index 3a216318ae73..d44840368ee7 100644
--- a/include/linux/elevator.h
+++ b/include/linux/elevator.h
@@ -214,7 +214,6 @@ extern ssize_t elv_iosched_store(struct request_queue *, const char *, size_t);
extern int elevator_init(struct request_queue *, char *);
extern void elevator_exit(struct request_queue *, struct elevator_queue *);
-extern int elevator_change(struct request_queue *, const char *);
extern bool elv_bio_merge_ok(struct request *, struct bio *);
extern struct elevator_queue *elevator_alloc(struct request_queue *,
struct elevator_type *);