Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95759
b: refs/heads/master
c: 2e895e4
h: refs/heads/master
i:
  95757: 0fef5d9
  95755: 1df250c
  95751: 1d02d22
  95743: d7dfffa
v: v3
  • Loading branch information
Marcelo Tosatti authored and Rusty Russell committed May 2, 2008
1 parent 7cceb23 commit d871c94
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: 0527168522c25121bdd5d5f1d3c5b484d972ea14
refs/heads/master: 2e895e4c23b7f73dba7238db5c5c2dcffb2a4d9d
2 changes: 0 additions & 2 deletions trunk/drivers/block/virtio_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ static int virtblk_probe(struct virtio_device *vdev)
static void virtblk_remove(struct virtio_device *vdev)
{
struct virtio_blk *vblk = vdev->priv;
int major = vblk->disk->major;

/* Nothing should be pending. */
BUG_ON(!list_empty(&vblk->reqs));
Expand All @@ -299,7 +298,6 @@ static void virtblk_remove(struct virtio_device *vdev)

blk_cleanup_queue(vblk->disk->queue);
put_disk(vblk->disk);
unregister_blkdev(major, "virtblk");
mempool_destroy(vblk->pool);
vdev->config->del_vq(vblk->vq);
kfree(vblk);
Expand Down

0 comments on commit d871c94

Please sign in to comment.