[PATCH] bridge_driver: Drop needless fwd declarations

Martin Kletzander mkletzan at redhat.com
Mon Nov 8 12:23:36 UTC 2021


On Mon, Nov 08, 2021 at 11:47:27AM +0100, Michal Privoznik wrote:
>Some forward declarations in bridge_driver.c are not needed
>really. They only create a noise when trying to jump onto the
>correct tag. Drop them.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>

Reviewed-by: Martin Kletzander <mkletzan at redhat.com>

>---
> src/network/bridge_driver.c | 14 --------------
> 1 file changed, 14 deletions(-)
>
>diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
>index 498c45d0a7..7e5fab630b 100644
>--- a/src/network/bridge_driver.c
>+++ b/src/network/bridge_driver.c
>@@ -259,20 +259,6 @@ static int
> networkShutdownNetwork(virNetworkDriverState *driver,
>                        virNetworkObj *obj);
>
>-static int
>-networkStartNetworkVirtual(virNetworkDriverState *driver,
>-                           virNetworkObj *obj);
>-
>-static int
>-networkShutdownNetworkVirtual(virNetworkDriverState *driver,
>-                              virNetworkObj *obj);
>-
>-static int
>-networkStartNetworkExternal(virNetworkObj *obj);
>-
>-static int
>-networkShutdownNetworkExternal(virNetworkObj *obj);
>-
> static void
> networkReloadFirewallRules(virNetworkDriverState *driver,
>                            bool startup,
>-- 
>2.32.0
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211108/cd48f4ec/attachment-0001.sig>


More information about the libvir-list mailing list