[PATCH] ch_driver: Drop needless fwd declaration

Michal Privoznik posted 1 patch 2 years, 5 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/dd7b0c7a67f311ebd63bc5a139aadaa6d4a11859.1635511048.git.mprivozn@redhat.com
src/ch/ch_driver.c | 5 -----
1 file changed, 5 deletions(-)
[PATCH] ch_driver: Drop needless fwd declaration
Posted by Michal Privoznik 2 years, 5 months ago
In ch_driver.c there are two forward declarations that are not
needed. Drop them.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---
 src/ch/ch_driver.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c
index 1824d2fd16..9eaf3ee499 100644
--- a/src/ch/ch_driver.c
+++ b/src/ch/ch_driver.c
@@ -47,11 +47,6 @@
 
 VIR_LOG_INIT("ch.ch_driver");
 
-static int chStateInitialize(bool privileged,
-                             const char *root,
-                             virStateInhibitCallback callback,
-                             void *opaque);
-static int chStateCleanup(void);
 virCHDriver *ch_driver = NULL;
 
 static virDomainObj *
-- 
2.32.0

Re: [PATCH] ch_driver: Drop needless fwd declaration
Posted by Ján Tomko 2 years, 5 months ago
On a Friday in 2021, Michal Privoznik wrote:
>In ch_driver.c there are two forward declarations that are not
>needed. Drop them.
>
>Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
>---
> src/ch/ch_driver.c | 5 -----
> 1 file changed, 5 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano