From nobody Thu May 2 06:33:40 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.151.124 as permitted sender) client-ip=170.10.151.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.151.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1636368475; cv=none; d=zohomail.com; s=zohoarc; b=DcOP/gTUfB6h8c84RNRUb7roPePOPtbvh/rNzBRhAHsNgFW3vMJiYnSD2FNStY87oi2uZ/3DxZPDt/Y4UZ6XZi3LO+whriMCo79UfP3biXwX8ObB1ypMPkUjli6vdelMKUSVRry5WNQKTYby78+lsAgMgyBrOcHa4eh6XzHTZcA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1636368475; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=1oPpo/nRVTSMbGuMBUKtzpZ06vYcvyripiK4bogs7Z8=; b=nm3tf5g/LHGeDGpWzfc34QsNLhNWsNuh/YDGYFyLngc0o9ae7keiJEO37rM1weAvL8lyH8F1N4PpKmMGCOY6JtzNuftAsrEn9IV2c8X+AbnvEuSavOvkmpCwKHGqdd/7iz5Punc3Wb9ThEhGZbSEYc5stuXScHnCbaOv1MW0OrY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.151.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (usb-smtp-delivery-124.mimecast.com [170.10.151.124]) by mx.zohomail.com with SMTPS id 1636368475265871.7142354161879; Mon, 8 Nov 2021 02:47:55 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-2-mp4FZHafNOK1r9oAwxUGdQ-1; Mon, 08 Nov 2021 05:47:52 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1679E15722; Mon, 8 Nov 2021 10:47:47 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5AEB460C17; Mon, 8 Nov 2021 10:47:45 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 853274E58F; Mon, 8 Nov 2021 10:47:43 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1A8Alglr003821 for ; Mon, 8 Nov 2021 05:47:42 -0500 Received: by smtp.corp.redhat.com (Postfix) id 306DC67840; Mon, 8 Nov 2021 10:47:42 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.64]) by smtp.corp.redhat.com (Postfix) with ESMTP id ABF1960657 for ; Mon, 8 Nov 2021 10:47:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636368473; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=1oPpo/nRVTSMbGuMBUKtzpZ06vYcvyripiK4bogs7Z8=; b=hF/X7lORMCraciZ3blbAb8ydJO01OyA8xcaDwlwOo5MwRk0ELMoFGJ7sgA1svOXoGD2e60 Z2WraaQ3mthkyH55COVwY6aEGKgn3gpvvTOdIShLWBk88RjjObj9C6MmJ8ZPHozIicZ5l+ OUAwHML9mXrbELzWg7tzXoSe2YT/eIk= X-MC-Unique: mp4FZHafNOK1r9oAwxUGdQ-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH] bridge_driver: Drop needless fwd declarations Date: Mon, 8 Nov 2021 11:47:27 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1636368476390100001 Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Martin Kletzander Reviewed-by: Tim Wiederhake --- 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); =20 -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, --=20 2.32.0