[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] libxl: Remove a duplicate calculation of be_path



On 09/23/14 12:46, Ian Jackson wrote:
> Coverity-ID: 1238177
> CC: Wei Liu <wei.liu2@xxxxxxxxxx>
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
> ---
>   tools/libxl/libxl_device.c |    1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c
> index 045212f..3425446 100644
> --- a/tools/libxl/libxl_device.c
> +++ b/tools/libxl/libxl_device.c
> @@ -48,7 +48,6 @@ int libxl__device_exists(libxl__gc *gc, xs_transaction_t t,
>       char *be_path = libxl__device_backend_path(gc, device);
>       const char *dir;
>   
> -    be_path = libxl__device_backend_path(gc, device);
>       rc = libxl__xs_read_checked(gc, t, be_path, &dir);
>   
>       if (rc)

Looks good.

Reviewed-by: Don Slutz <dslutz@xxxxxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.