Skip to content

Commit

Permalink
deadline: remove unused struct member
Browse files Browse the repository at this point in the history
commit 63de428 ("deadline-iosched:
allow non-sequential batching") removed last use of last_sector.

Signed-off-by: Tahsin Erdogan <[email protected]>
Reviewed-by: Jeff Moyer <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Tahsin Erdogan authored and axboe committed Feb 1, 2016
1 parent 90b90d0 commit e502fb8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions block/deadline-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

/*
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e502fb8

Please sign in to comment.