From: Ian Jackson Date: Tue, 23 Sep 2014 16:46:21 +0000 (+0100) Subject: libxl: Remove a duplicate calculation of be_path X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4344 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8a6a33eb5a3207e6f4b853621bd213d9eee5556f;p=xen.git libxl: Remove a duplicate calculation of be_path Coverity-ID: 1238177 CC: Wei Liu Signed-off-by: Ian Jackson Reviewed-by: Don Slutz Acked-by: Ian Campbell --- diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c index 045212fa5b..342544644e 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)