From 8ac22ba17ec82964c8bcaa335a765b1f966cd872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Fri, 28 Jan 2022 20:01:27 +0100 Subject: [PATCH] libxl: remove LIBXL_ATTR_UNUSED MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unused as of: commit 446d09149802677546449fa2dd253f3ebce377ac libxl: pass driver config to libxlMakeDomBuildInfo All other usage of LIBXL_HAVE_DEVICE_CHANNEL was removed by: commit e58004d70aceb560fba64803e566b8be3ef93940 Xen: Remove unneeded LIBXL_HAVE_* ifdefs Signed-off-by: Ján Tomko Reviewed-by: Michal Privoznik --- src/libxl/libxl_conf.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/libxl/libxl_conf.h b/src/libxl/libxl_conf.h index f833daf669..b74fedc2c8 100644 --- a/src/libxl/libxl_conf.h +++ b/src/libxl/libxl_conf.h @@ -220,11 +220,6 @@ libxlMakeUSB(virDomainHostdevDef *hostdev, libxl_device_usbdev *usbdev); virDomainXMLOption * libxlCreateXMLConf(libxlDriverPrivate *driver); -#ifdef LIBXL_HAVE_DEVICE_CHANNEL -# define LIBXL_ATTR_UNUSED -#else -# define LIBXL_ATTR_UNUSED G_GNUC_UNUSED -#endif int libxlBuildDomainConfig(virPortAllocatorRange *graphicsports, virDomainDef *def,