Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1309732 > unrolled thread
| Started by | Tahsin Erdogan <tahsin@google.com> |
|---|---|
| First post | 2016-01-14 23:50 +0100 |
| Last post | 2016-01-14 23:50 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH] deadline: remove unused struct member Tahsin Erdogan <tahsin@google.com> - 2016-01-14 23:50 +0100
| From | Tahsin Erdogan <tahsin@google.com> |
|---|---|
| Date | 2016-01-14 23:50 +0100 |
| Subject | [PATCH] deadline: remove unused struct member |
| Message-ID | <qQYSl-5iF-3@gated-at.bofh.it> |
commit 63de428b139d3d31d86ebe25ae97b33f6540fb7e ("deadline-iosched:
allow non-sequential batching") removed last use of last_sector.
Signed-off-by: Tahsin Erdogan <tahsin@google.com>
---
block/deadline-iosched.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/block/deadline-iosched.c b/block/deadline-iosched.c
index a753df2..d0dd788 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
--
2.6.0.rc2.230.g3dd15c0
Back to top | Article view | linux.kernel
csiph-web