[PATCH v2 7/9] lxc: Remove unneeded forward declaration of 'lxcStateInitialize'
Peter Krempa
pkrempa at redhat.com
Fri Sep 9 11:58:17 UTC 2022
The function is used only after the definition.
Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
src/lxc/lxc_driver.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index e7c6c4fbc4..f2a358805a 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -79,10 +79,6 @@ VIR_LOG_INIT("lxc.lxc_driver");
#define LXC_NB_DOMAIN_BLOCK_STAT_PARAM 4
-static int lxcStateInitialize(bool privileged,
- const char *root,
- virStateInhibitCallback callback,
- void *opaque);
static int lxcStateCleanup(void);
virLXCDriver *lxc_driver = NULL;
--
2.37.1
More information about the libvir-list
mailing list