Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331654
b: refs/heads/master
c: 98cec11
h: refs/heads/master
v: v3
  • Loading branch information
Alex Elder committed Oct 1, 2012
1 parent 6a971c7 commit 1943586
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9fcbb80024795dc1a282f11af593ae5aa3d1b67e
refs/heads/master: 98cec111c08d8d52168e28648b4a1c2f5011cd70
2 changes: 0 additions & 2 deletions trunk/drivers/block/rbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ struct rbd_device {

int major; /* blkdev assigned major */
struct gendisk *disk; /* blkdev's gendisk and rq */
struct request_queue *q;

struct rbd_options rbd_opts;
struct rbd_client *rbd_client;
Expand Down Expand Up @@ -1923,7 +1922,6 @@ static int rbd_init_disk(struct rbd_device *rbd_dev)
q->queuedata = rbd_dev;

rbd_dev->disk = disk;
rbd_dev->q = q;

/* finally, announce the disk to the world */
set_capacity(disk, total_size / SECTOR_SIZE);
Expand Down

0 comments on commit 1943586

Please sign in to comment.