block: remove ->max member from struct blk_iopoll blk-iopoll
authorJens Axboe <jens.axboe@oracle.com>
Thu, 4 Mar 2010 08:49:47 +0000 (09:49 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 4 Mar 2010 08:49:47 +0000 (09:49 +0100)
It's no longer used. Also move the int weight to the end.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/blk-iopoll.h

index 308734d3d4a2365f6e3639a4ddc4ed33d41f36ce..2281839a0f3d6abc70f8fa959d698ebbbf2db74e 100644 (file)
@@ -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 {