diff mbox

[1/4] xl: remove unused macros

Message ID 1453463454-4114-2-git-send-email-wei.liu2@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wei Liu Jan. 22, 2016, 11:50 a.m. UTC
They were added back in 2011 to be used in an adhoc parser which has now
been removed.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 tools/libxl/xl_cmdimpl.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

Ian Campbell Jan. 25, 2016, 12:17 p.m. UTC | #1
On Fri, 2016-01-22 at 11:50 +0000, 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 <wei.liu2@citrix.com>

Acked-by: Ian Campbell <ian.campbell@citrix.com>
diff mbox

Patch

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_RW        5
-#define DSTATE_TERMINAL  6
-
 static void parse_disk_config_multistring(XLU_Config **config,
                                           int nspecs, const char *const *specs,
                                           libxl_device_disk *disk)