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:
parent
cd65b895dd
commit
cca4b0463d
@ -10125,7 +10125,6 @@ testDomainAttachDeviceLiveAndConfig(virDomainObj *vm,
|
|||||||
const char *xml,
|
const char *xml,
|
||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
{
|
{
|
||||||
g_autoptr(virDomainDeviceDef) devConf = NULL;
|
|
||||||
g_autoptr(virDomainDeviceDef) devLive = NULL;
|
g_autoptr(virDomainDeviceDef) devLive = NULL;
|
||||||
unsigned int parse_flags = VIR_DOMAIN_DEF_PARSE_INACTIVE |
|
unsigned int parse_flags = VIR_DOMAIN_DEF_PARSE_INACTIVE |
|
||||||
VIR_DOMAIN_DEF_PARSE_ABI_UPDATE;
|
VIR_DOMAIN_DEF_PARSE_ABI_UPDATE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user