From 7b4964479d72366ff43aff4aa65e18f1b2619f02 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Fri, 6 Apr 2018 14:02:28 +0200 Subject: [PATCH] storageDriverAutostart: Drop unused @conn This variable is not actually used in the function. Especially after 31869efe2a8. Signed-off-by: Michal Privoznik --- 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); } /** -- GitLab