summaryrefslogtreecommitdiffstats
path: root/block/deadline-iosched.c
diff options
context:
space:
mode:
authorTahsin Erdogan <tahsin@google.com>2016-01-14 14:41:32 -0800
committerJens Axboe <axboe@fb.com>2016-02-01 09:09:55 -0700
commite502fb8f8801c9561c57397e7fd917187762324e (patch)
tree4372dedf14c3dddb4a59b0153cb526c937102481 /block/deadline-iosched.c
parent90b90d06db0be30aeb89b6b4ab618d644211a85e (diff)
downloadlinux-stable-e502fb8f8801c9561c57397e7fd917187762324e.tar.gz
linux-stable-e502fb8f8801c9561c57397e7fd917187762324e.tar.bz2
linux-stable-e502fb8f8801c9561c57397e7fd917187762324e.zip
deadline: remove unused struct member
commit 63de428b139d3d31d86ebe25ae97b33f6540fb7e ("deadline-iosched: allow non-sequential batching") removed last use of last_sector. Signed-off-by: Tahsin Erdogan <tahsin@google.com> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/deadline-iosched.c')
-rw-r--r--block/deadline-iosched.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/block/deadline-iosched.c b/block/deadline-iosched.c
index a753df2b3fc2..d0dd7882d8c7 100644
--- a/block/deadline-iosched.c
+++ b/block/deadline-iosched.c
@@ -39,7 +39,6 @@ struct deadline_data {
*/
struct request *next_rq[2];
unsigned int batching; /* number of sequential requests made */
- sector_t last_sector; /* head position */
unsigned int starved; /* times reads have starved writes */
/*
@@ -210,8 +209,6 @@ deadline_move_request(struct deadline_data *dd, struct request *rq)
dd->next_rq[WRITE] = NULL;
dd->next_rq[data_dir] = deadline_latter_request(rq);
- dd->last_sector = rq_end_sector(rq);
-
/*
* take it off the sort and fifo list, move
* to dispatch queue