]> xenbits.xensource.com Git - libvirt.git/commitdiff
virnetdevopenvswitch: Remove redundant declaration
authorPeng Liang <liangpeng10@huawei.com>
Thu, 20 May 2021 06:46:06 +0000 (14:46 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 20 May 2021 09:30:01 +0000 (11:30 +0200)
virNetDevOpenvswitchInterfaceGetMaster is declared twice in
src/util/virnetdevopenvswitch.h.  Remove the last one.

Signed-off-by: Peng Liang <liangpeng10@huawei.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virnetdevopenvswitch.h

index 35717085827efd8065dc340b8565475b0a03af52..75253768558f51794f89f107879b1d67d9ecb1bd 100644 (file)
@@ -57,9 +57,6 @@ int virNetDevOpenvswitchInterfaceStats(const char *ifname,
                                        virDomainInterfaceStatsPtr stats)
     ATTRIBUTE_NONNULL(1) G_GNUC_WARN_UNUSED_RESULT;
 
-int virNetDevOpenvswitchInterfaceGetMaster(const char *ifname, char **master)
-    ATTRIBUTE_NONNULL(1) G_GNUC_WARN_UNUSED_RESULT;
-
 int
 virNetDevOpenvswitchMaybeUnescapeReply(char *reply)
     ATTRIBUTE_NONNULL(1) G_GNUC_WARN_UNUSED_RESULT;