projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5fb9fb
)
libxl: Remove a duplicate calculation of be_path
author
Ian Jackson
<ian.jackson@eu.citrix.com>
Tue, 23 Sep 2014 16:46:21 +0000
(17:46 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Wed, 24 Sep 2014 08:37:34 +0000
(09:37 +0100)
Coverity-ID:
1238177
CC: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reviewed-by: Don Slutz <dslutz@verizon.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_device.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl_device.c
b/tools/libxl/libxl_device.c
index 045212fa5b62c5212472ae9e29cf5ff4639f8bf8..342544644e8ef7f3a8a94bb33bab00ccc005aac2 100644
(file)
--- 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)