summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-03-04 09:49:47 +0100
committerJens Axboe <jens.axboe@oracle.com>2010-03-04 09:49:47 +0100
commit2555923579b25a58d56b3e516787f99447dc9f9d (patch)
tree6fd274a54ca0bc72e92c50494911a380f886d3ef
parent97138be43ab3a1906041effb635526a8eb0b2712 (diff)
block: remove ->max member from struct blk_iopollblk-iopoll
It's no longer used. Also move the int weight to the end. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--include/linux/blk-iopoll.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/blk-iopoll.h b/include/linux/blk-iopoll.h
index 308734d3d4a2..2281839a0f3d 100644
--- a/include/linux/blk-iopoll.h
+++ b/include/linux/blk-iopoll.h
@@ -8,9 +8,8 @@ struct blk_iopoll {
struct list_head list;
unsigned long state;
unsigned long data;
- int weight;
- int max;
blk_iopoll_fn *poll;
+ int weight;
};
enum {