This variable is not actually used in the function. Especially
after 31869efe2a8.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/storage/storage_driver.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/storage/storage_driver.c b/src/storage/storage_driver.c
index 6ddead1b95..173b91b61b 100644
--- a/src/storage/storage_driver.c
+++ b/src/storage/storage_driver.c
@@ -218,13 +218,9 @@ storageDriverAutostartCallback(virStoragePoolObjPtr obj,
static void
storageDriverAutostart(void)
{
- virConnectPtr conn = NULL;
-
virStoragePoolObjListForEach(driver->pools,
storageDriverAutostartCallback,
NULL);
-
- virObjectUnref(conn);
}
/**
--
2.16.1