diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libxc/xc_linux.c | 4 | ||||
-rw-r--r-- | tools/libxc/xc_minios.c | 3 | ||||
-rw-r--r-- | tools/libxc/xc_netbsd.c | 3 | ||||
-rw-r--r-- | tools/libxc/xc_private.c | 1 | ||||
-rw-r--r-- | tools/libxc/xc_private.h | 1 | ||||
-rw-r--r-- | tools/libxc/xc_solaris.c | 2 |
6 files changed, 0 insertions, 14 deletions
diff --git a/tools/libxc/xc_linux.c b/tools/libxc/xc_linux.c index a1ed5f450c..eafa7e1d56 100644 --- a/tools/libxc/xc_linux.c +++ b/tools/libxc/xc_linux.c @@ -58,8 +58,6 @@ static xc_osdep_handle linux_privcmd_open(xc_interface *xch) goto error; } - xch->fd = fd; /* Remove after transition to full xc_osdep_ops. */ - return (xc_osdep_handle)fd; error: @@ -350,7 +348,6 @@ static xc_osdep_handle linux_evtchn_open(xc_evtchn *xce) if ( fd == -1 ) return XC_OSDEP_OPEN_ERROR; - xce->fd = fd; /* Remove after transition to full xc_osdep_ops. */ return (xc_osdep_handle)fd; } @@ -498,7 +495,6 @@ static xc_osdep_handle linux_gnttab_open(xc_gnttab *xcg) if ( fd == -1 ) return XC_OSDEP_OPEN_ERROR; - xcg->fd = fd; /* Remove after transition to full xc_osdep_ops. */ return (xc_osdep_handle)fd; } diff --git a/tools/libxc/xc_minios.c b/tools/libxc/xc_minios.c index 990f7142ef..ee0468782a 100644 --- a/tools/libxc/xc_minios.c +++ b/tools/libxc/xc_minios.c @@ -56,7 +56,6 @@ static xc_osdep_handle minios_privcmd_open(xc_interface *xch) if ( fd == -1) return XC_OSDEP_OPEN_ERROR; - xch->fd = fd; /* Remove after transition to full xc_osdep_ops. */ return (xc_osdep_handle)fd; } @@ -207,7 +206,6 @@ static xc_osdep_handle minios_evtchn_open(xc_evtchn *xce) files[fd].evtchn.ports[i].bound = 0; } printf("evtchn_open() -> %d\n", fd); - xce->fd = fd; /* Remove after transition to full xc_osdep_ops. */ return (xc_osdep_handle)fd; } @@ -431,7 +429,6 @@ static xc_osdep_handle minios_gnttab_open(xc_gnttab *xcg) if ( fd == -1 ) return XC_OSDEP_OPEN_ERROR; gntmap_init(&files[fd].gntmap); - xcg->fd = fd; /* Remove after transition to full xc_osdep_ops. */ return (xc_osdep_handle)fd; } diff --git a/tools/libxc/xc_netbsd.c b/tools/libxc/xc_netbsd.c index d3ec9c54e5..e84b88b6ee 100644 --- a/tools/libxc/xc_netbsd.c +++ b/tools/libxc/xc_netbsd.c @@ -51,8 +51,6 @@ static xc_osdep_handle netbsd_privcmd_open(xc_interface *xch) goto error; } - xch->fd = fd; /* Remove after transition to full xc_osdep_ops. */ - return (xc_osinteface_handle)fd; error: @@ -200,7 +198,6 @@ static xc_osdep_handle netbsd_evtchn_open(xc_evtchn *xce) if ( fd == -1 ) return XC_OSDEP_OPEN_ERROR; - xce->fd = fd; /* Remove after transition to full xc_osdep_ops. */ return (xc_osdep_handle)fd; } diff --git a/tools/libxc/xc_private.c b/tools/libxc/xc_private.c index 69b674dabf..a41fa32f4c 100644 --- a/tools/libxc/xc_private.c +++ b/tools/libxc/xc_private.c @@ -59,7 +59,6 @@ static struct xc_interface_core *xc_interface_open_common(xentoollog_logger *log xch->type = type; xch->flags = open_flags; - xch->fd = -1; xch->dombuild_logger_file = 0; xc_clear_last_error(xch); diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h index ccd1605288..4d06b02d39 100644 --- a/tools/libxc/xc_private.h +++ b/tools/libxc/xc_private.h @@ -68,7 +68,6 @@ struct xc_interface_core { enum xc_osdep_type type; - int fd; int flags; xentoollog_logger *error_handler, *error_handler_tofree; xentoollog_logger *dombuild_logger, *dombuild_logger_tofree; diff --git a/tools/libxc/xc_solaris.c b/tools/libxc/xc_solaris.c index 71bbbe62a2..cb366d7254 100644 --- a/tools/libxc/xc_solaris.c +++ b/tools/libxc/xc_solaris.c @@ -52,7 +52,6 @@ static xc_osdep_handle solaris_privcmd_open(xc_interface *xch) goto error; } - xch->fd = fd; /* Remove after transition to full xc_osdep_ops. */ return (xc_osdep_handle)fd; error: @@ -192,7 +191,6 @@ static xc_osdep_handle solaris_evtchn_open(xc_evtchn *xce) return XC_OSDEP_OPEN_ERROR; } - xce->fd = fd; /* Remove after transition to full xc_osdep_ops. */ return (xc_osdep_handle)fd; } |