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 <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik 2023-12-04 09:50:17 +01:00
parent cd65b895dd
commit cca4b0463d

View File

@ -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;