brd: get rid of unused members from struct brd_device
authorNamhyung Kim <namhyung@gmail.com>
Thu, 26 May 2011 19:06:50 +0000 (21:06 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 26 May 2011 19:06:50 +0000 (21:06 +0200)
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>
drivers/block/brd.c

index b7f51e4..bae9a3d 100644 (file)
  */
 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;