From: Peter Krempa Date: Fri, 9 Sep 2022 11:05:14 +0000 (+0200) Subject: lxc: Remove unneeded forward declaration of 'lxcStateInitialize' X-Git-Tag: v8.8.0-rc1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f924f2b2e18454ffa8dc454aee8b595dd59099;p=thirdparty%2Flibvirt.git lxc: Remove unneeded forward declaration of 'lxcStateInitialize' The function is used only after the definition. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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;