Skip to content

Commit

Permalink
brd: get rid of unused members from struct brd_device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Namhyung Kim authored and Jens Axboe committed May 26, 2011
1 parent f4fa342 commit a2cba29
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/block/brd.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
*/
struct brd_device {
int brd_number;
int brd_refcnt;
loff_t brd_offset;
loff_t brd_sizelimit;
unsigned brd_blocksize;

struct request_queue *brd_queue;
struct gendisk *brd_disk;
Expand Down

0 comments on commit a2cba29

Please sign in to comment.