projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vfio: Remove vfio_free_device
[linux-block.git]
/
samples
/
vfio-mdev
/
mbochs.c
diff --git
a/samples/vfio-mdev/mbochs.c
b/samples/vfio-mdev/mbochs.c
index 117a8d799f711205e550d512c5ee41bcbbe8f698..8b5a3a778a257c9a16119da1e8af3c7132414e9e 100644
(file)
--- a/
samples/vfio-mdev/mbochs.c
+++ b/
samples/vfio-mdev/mbochs.c
@@
-594,7
+594,6
@@
static void mbochs_release_dev(struct vfio_device *vdev)
atomic_add(mdev_state->type->mbytes, &mbochs_avail_mbytes);
kfree(mdev_state->pages);
kfree(mdev_state->vconfig);
- vfio_free_device(vdev);
}
static void mbochs_remove(struct mdev_device *mdev)