It hasn't been used since the introduction of the script. Also drop relevant CFLAGS and header inclusion.
Signed-off-by: Michal Orzel <michal.or...@amd.com> --- tools/helpers/Makefile | 3 +-- tools/helpers/init-dom0less.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/helpers/Makefile b/tools/helpers/Makefile index 09590eb5b6f0..8262d9e75a2c 100644 --- a/tools/helpers/Makefile +++ b/tools/helpers/Makefile @@ -36,8 +36,7 @@ $(INIT_DOM0LESS_OBJS): CFLAGS += $(CFLAGS_libxentoollog) $(INIT_DOM0LESS_OBJS): CFLAGS += $(CFLAGS_libxenstore) $(INIT_DOM0LESS_OBJS): CFLAGS += $(CFLAGS_libxenlight) $(INIT_DOM0LESS_OBJS): CFLAGS += $(CFLAGS_libxenctrl) -$(INIT_DOM0LESS_OBJS): CFLAGS += $(CFLAGS_libxenevtchn) -init-dom0less: LDLIBS += $(call xenlibs-ldlibs,ctrl evtchn toollog store light guest foreignmemory) +init-dom0less: LDLIBS += $(call xenlibs-ldlibs,ctrl toollog store light guest foreignmemory) .PHONY: all all: $(TARGETS) diff --git a/tools/helpers/init-dom0less.c b/tools/helpers/init-dom0less.c index 91edf17b6cef..a182dce56353 100644 --- a/tools/helpers/init-dom0less.c +++ b/tools/helpers/init-dom0less.c @@ -10,7 +10,6 @@ #include <xenctrl.h> #include <xenguest.h> #include <libxl.h> -#include <xenevtchn.h> #include <xenforeignmemory.h> #include <xen/io/xs_wire.h> -- 2.25.1