mirror of https://gitee.com/openkylin/libvirt.git
storageDriverAutostart: Drop unused @conn
This variable is not actually used in the function. Especially
after 31869efe2a
.
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
|
||||
storageDriverAutostart(void)
|
||||
{
|
||||
virConnectPtr conn = NULL;
|
||||
|
||||
virStoragePoolObjListForEach(driver->pools,
|
||||
storageDriverAutostartCallback,
|
||||
NULL);
|
||||
|
||||
virObjectUnref(conn);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue