From cca4b0463d4f6055048433fbae566de9a19b5240 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 4 Dec 2023 09:50:17 +0100 Subject: [PATCH] test_driver: Remove unused variable in testDomainAttachDeviceLiveAndConfig() The hotplug functionality added earlier really supports only live addition of devices, no coldplug yet rendering @devConf in testDomainAttachDeviceLiveAndConfig() an unused variable. Remove it. Signed-off-by: Michal Privoznik --- src/test/test_driver.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 47ca25c8cb..67f8e75296 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -10125,7 +10125,6 @@ testDomainAttachDeviceLiveAndConfig(virDomainObj *vm, const char *xml, unsigned int flags) { - g_autoptr(virDomainDeviceDef) devConf = NULL; g_autoptr(virDomainDeviceDef) devLive = NULL; unsigned int parse_flags = VIR_DOMAIN_DEF_PARSE_INACTIVE | VIR_DOMAIN_DEF_PARSE_ABI_UPDATE;