diff options
author | Namhyung Kim <namhyung@gmail.com> | 2011-05-26 15:06:50 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-05-26 15:06:50 -0400 |
commit | a2cba2913c7623789296e39d787b01031f9c7969 (patch) | |
tree | 1a8287d8e7155ac08f0c8752e1d4a085a593cc31 /drivers/block/brd.c | |
parent | f4fa3424c66255ba1e07b26becfc3d6cab0fdf65 (diff) |
brd: get rid of unused members from struct brd_device
brd_refcnt, brd_offset, brd_sizelimit and brd_blocksize in struct
brd_device seem to be copied from struct loop_device but they're
not used anywhere. Let get rid of them.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block/brd.c')
-rw-r--r-- | drivers/block/brd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/block/brd.c b/drivers/block/brd.c index b7f51e4594f8..bae9a3d4e15b 100644 --- a/drivers/block/brd.c +++ b/drivers/block/brd.c | |||
@@ -35,10 +35,6 @@ | |||
35 | */ | 35 | */ |
36 | struct brd_device { | 36 | struct brd_device { |
37 | int brd_number; | 37 | int brd_number; |
38 | int brd_refcnt; | ||
39 | loff_t brd_offset; | ||
40 | loff_t brd_sizelimit; | ||
41 | unsigned brd_blocksize; | ||
42 | 38 | ||
43 | struct request_queue *brd_queue; | 39 | struct request_queue *brd_queue; |
44 | struct gendisk *brd_disk; | 40 | struct gendisk *brd_disk; |