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:
Michal Privoznik 2018-04-06 14:02:28 +02:00
parent 36e7ce761b
commit 7b4964479d

View File

@ -218,13 +218,9 @@ storageDriverAutostartCallback(virStoragePoolObjPtr obj,
static void
storageDriverAutostart(void)
{
virConnectPtr conn = NULL;
virStoragePoolObjListForEach(driver->pools,
storageDriverAutostartCallback,
NULL);
virObjectUnref(conn);
}
/**