summaryrefslogtreecommitdiff
path: root/kvm.c
diff options
context:
space:
mode:
authorMax Bruning <max@joyent.com>2011-06-10 09:01:45 -0700
committerMax Bruning <max@joyent.com>2011-06-10 09:01:45 -0700
commit6aa99a358ab94557e9c26f829a4be2b19dd130a4 (patch)
tree9d542dacf93676ed0783858dd6f69e91dee62a78 /kvm.c
parent6131ce9627f5c601354b0428c2270ed7bf7c12d8 (diff)
downloadillumos-kvm-6aa99a358ab94557e9c26f829a4be2b19dd130a4.tar.gz
HVM-358 alloc_page leaks memory - (minor mistake in push)
Diffstat (limited to 'kvm.c')
-rw-r--r--kvm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kvm.c b/kvm.c
index 83088be..2345ce8 100644
--- a/kvm.c
+++ b/kvm.c
@@ -1783,8 +1783,6 @@ kvm_detach(dev_info_t *dip, ddi_detach_cmd_t cmd)
{
int instance;
- return (EBUSY);
-
if (cmd != DDI_DETACH)
return (DDI_FAILURE);