提交 7b496447 编写于 作者: M Michal Privoznik

storageDriverAutostart: Drop unused @conn

This variable is not actually used in the function. Especially
after 31869efe.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 36e7ce76
...@@ -218,13 +218,9 @@ storageDriverAutostartCallback(virStoragePoolObjPtr obj, ...@@ -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);
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册