diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libxc/xc_private.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/libxc/xc_private.c b/tools/libxc/xc_private.c index e0613b9e4f..99589beaf8 100644 --- a/tools/libxc/xc_private.c +++ b/tools/libxc/xc_private.c @@ -307,13 +307,6 @@ int xc_memory_op(int xc_handle, goto out1; } break; - case XENMEM_remove_from_physmap: - if ( lock_pages(arg, sizeof(struct xen_remove_from_physmap)) ) - { - PERROR("Could not lock"); - goto out1; - } - break; case XENMEM_current_reservation: case XENMEM_maximum_reservation: case XENMEM_maximum_gpfn: @@ -355,9 +348,6 @@ int xc_memory_op(int xc_handle, case XENMEM_add_to_physmap: unlock_pages(arg, sizeof(struct xen_add_to_physmap)); break; - case XENMEM_remove_from_physmap: - unlock_pages(arg, sizeof(struct xen_remove_from_physmap)); - break; case XENMEM_current_reservation: case XENMEM_maximum_reservation: case XENMEM_maximum_gpfn: |