Re: [Xen-devel] [PATCH 1/4] xl: remove unused macros

2016-01-25 Thread Ian Campbell
On Fri, 2016-01-22 at 11:50 +, Wei Liu wrote:
> They were added back in 2011 to be used in an adhoc parser which has now
> been removed.
> 
> Signed-off-by: Wei Liu 

Acked-by: Ian Campbell 


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


[Xen-devel] [PATCH 1/4] xl: remove unused macros

2016-01-22 Thread Wei Liu
They were added back in 2011 to be used in an adhoc parser which has now
been removed.

Signed-off-by: Wei Liu 
---
 tools/libxl/xl_cmdimpl.c | 8 
 1 file changed, 8 deletions(-)

diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
index f9933cb..f380799 100644
--- a/tools/libxl/xl_cmdimpl.c
+++ b/tools/libxl/xl_cmdimpl.c
@@ -556,14 +556,6 @@ static int parse_action_on_shutdown(const char *buf, 
libxl_action_on_shutdown *a
 return 0;
 }
 
-#define DSTATE_INITIAL   0
-#define DSTATE_TAP   1
-#define DSTATE_PHYSPATH  2
-#define DSTATE_VIRTPATH  3
-#define DSTATE_VIRTTYPE  4
-#define DSTATE_RW5
-#define DSTATE_TERMINAL  6
-
 static void parse_disk_config_multistring(XLU_Config **config,
   int nspecs, const char *const *specs,
   libxl_device_disk *disk)
-- 
2.1.4


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