From: Ján Tomko Date: Fri, 28 Jan 2022 19:01:27 +0000 (+0100) Subject: libxl: remove LIBXL_ATTR_UNUSED X-Git-Tag: v8.1.0-rc1~243 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ac22ba17ec82964c8bcaa335a765b1f966cd872;p=thirdparty%2Flibvirt.git libxl: remove LIBXL_ATTR_UNUSED 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 --- 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,