From nobody Wed May 15 13:17:42 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=huawei.com ARC-Seal: i=1; a=rsa-sha256; t=1621494469; cv=none; d=zohomail.com; s=zohoarc; b=eviIeIdXHY+DtJhoU2O1T9pxnuPcATwgyHGOBy0c+2F798wFvjmCg7MRaxhi3TRqUAmvyyssMkxEDpVfJW3RJZUuYwPHtuUiBevXIv2U8omZUvCCVDbYgzsR8jEcPpM4/PwvXEhy3dGqltjtQ/ikomZCiJgP1BI9WE59q4D5MyM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621494469; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=L6yj6v/U4sbyudwbKhtvKLo6+ABrcXZOGQEFgml+Flg=; b=EmNrPBbQp4yIz6pxGt5hMLgYFhCHq9huvAxLC71Ze2qE70NXoFXm9ILp2Ms1DxmRuj/xT6VNyev+zdkgvzzZZaUqQEJS1dSTkNd+7MjILweKlDFp/GbWpExfOn6L37xGnMKFEtkiKc/cDLC+QEZyNfVNW33dj1IgHZo+sOVwL3s= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1621494469957211.74681446057843; Thu, 20 May 2021 00:07:49 -0700 (PDT) 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-144-j9UZPkKHN8qQ_AsUoaMlWg-1; Thu, 20 May 2021 03:07:46 -0400 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 3179C1019634; Thu, 20 May 2021 07:07:42 +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 0F40260CCC; Thu, 20 May 2021 07:07:42 +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 2D1DD3FCD3; Thu, 20 May 2021 07:07:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 14K76rrY022417 for ; Thu, 20 May 2021 03:06:53 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8E53F53A4; Thu, 20 May 2021 07:06:53 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 89BD19D5F for ; Thu, 20 May 2021 07:06:50 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0CE1280D0E1 for ; Thu, 20 May 2021 07:06:50 +0000 (UTC) Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-544-zgOEOdvHPKu5sRkO-vPV0w-1; Thu, 20 May 2021 03:06:47 -0400 Received: from dggems705-chm.china.huawei.com (unknown [172.30.72.58]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4Fm0hb2hWRzmWYK for ; Thu, 20 May 2021 14:49:19 +0800 (CST) Received: from dggema765-chm.china.huawei.com (10.1.198.207) by dggems705-chm.china.huawei.com (10.3.19.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Thu, 20 May 2021 14:51:35 +0800 Received: from localhost.localdomain (10.175.101.6) by dggema765-chm.china.huawei.com (10.1.198.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Thu, 20 May 2021 14:51:35 +0800 X-MC-Unique: j9UZPkKHN8qQ_AsUoaMlWg-1 X-MC-Unique: zgOEOdvHPKu5sRkO-vPV0w-1 From: Peng Liang To: Subject: [PATCH] virnetdevopenvswitch: Remove redundant declaration Date: Thu, 20 May 2021 14:46:06 +0800 Message-ID: <20210520064606.2643263-1-liangpeng10@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggema765-chm.china.huawei.com (10.1.198.207) X-CFilter-Loop: Reflected X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 14K76rrY022417 X-loop: libvir-list@redhat.com Cc: liangpeng10@huawei.com, xiexiangyou@huawei.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 Content-Type: text/plain; charset="utf-8" virNetDevOpenvswitchInterfaceGetMaster is declared twice in src/util/virnetdevopenvswitch.h. Remove the last one. Signed-off-by: Peng Liang Reviewed-by: Michal Privoznik --- src/util/virnetdevopenvswitch.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/util/virnetdevopenvswitch.h b/src/util/virnetdevopenvswitc= h.h index 35717085827e..75253768558f 100644 --- a/src/util/virnetdevopenvswitch.h +++ b/src/util/virnetdevopenvswitch.h @@ -57,9 +57,6 @@ int virNetDevOpenvswitchInterfaceStats(const char *ifname, virDomainInterfaceStatsPtr stats) ATTRIBUTE_NONNULL(1) G_GNUC_WARN_UNUSED_RESULT; =20 -int virNetDevOpenvswitchInterfaceGetMaster(const char *ifname, char **mast= er) - ATTRIBUTE_NONNULL(1) G_GNUC_WARN_UNUSED_RESULT; - int virNetDevOpenvswitchMaybeUnescapeReply(char *reply) ATTRIBUTE_NONNULL(1) G_GNUC_WARN_UNUSED_RESULT; --=20 2.31.1