mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-27 06:55:18 +00:00
storageDriverAutostart: Drop unused @conn
This variable is not actually used in the function. Especially after 31869efe2a8. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
36e7ce761b
commit
7b4964479d
@ -218,13 +218,9 @@ storageDriverAutostartCallback(virStoragePoolObjPtr obj,
|
|||||||
static void
|
static void
|
||||||
storageDriverAutostart(void)
|
storageDriverAutostart(void)
|
||||||
{
|
{
|
||||||
virConnectPtr conn = NULL;
|
|
||||||
|
|
||||||
virStoragePoolObjListForEach(driver->pools,
|
virStoragePoolObjListForEach(driver->pools,
|
||||||
storageDriverAutostartCallback,
|
storageDriverAutostartCallback,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
virObjectUnref(conn);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user