From 0a7622b603f959db3e7128d6a82ed0e7aa802e7b Mon Sep 17 00:00:00 2001 From: Michal Orzel Date: Tue, 10 Jun 2025 11:33:26 +0200 Subject: [PATCH] helpers: init-dom0less: Drop libxenevtchn from LDLIBS It hasn't been used since the introduction of the script. Also drop relevant CFLAGS and header inclusion. Signed-off-by: Michal Orzel Acked-by: Andrew Cooper --- 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 09590eb5b6..8262d9e75a 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 91edf17b6c..a182dce563 100644 --- a/tools/helpers/init-dom0less.c +++ b/tools/helpers/init-dom0less.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include