[xen staging] libxl: Remove redundant pidpath setting

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen staging] libxl: Remove redundant pidpath setting

patchbot
commit 402411ec40e451d1ad051fb7e59aa6374cc4212a
Author:     George Dunlap <[hidden email]>
AuthorDate: Fri Nov 23 17:14:54 2018 +0000
Commit:     Wei Liu <[hidden email]>
CommitDate: Wed Nov 28 16:30:07 2018 +0000

    libxl: Remove redundant pidpath setting
   
    This exact same line is duplicated further on without being used or
    modified in between.
   
    Signed-off-by: George Dunlap <[hidden email]>
    Acked-by: Wei Liu <[hidden email]>
    Acked-by: Ian Jackson <[hidden email]>
---
 tools/libxl/libxl_dm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index 9c47060473..5698fe8af3 100644
--- a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -2348,7 +2348,6 @@ void libxl__spawn_local_dm(libxl__egc *egc, libxl__dm_spawn_state *dmss)
     }
 
     const char *dom_path = libxl__xs_get_dompath(gc, domid);
-    spawn->pidpath = GCSPRINTF("%s/%s", dom_path, "image/device-model-pid");
 
     if (vnc && vnc->passwd) {
         /* This xenstore key will only be used by qemu-xen-traditionnal.
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog