From f62b1bccf92ec8b4fc4cf3c725da5be93df09e0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Thu, 29 Mar 2018 01:26:54 +0200 Subject: [PATCH] qemu: remove unused qemuDomainNetVLAN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ján Tomko Reviewed-by: Andrea Bolognani --- src/qemu/qemu_domain.c | 6 ------ src/qemu/qemu_domain.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 3144e8c298..4f7726f76a 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -9209,12 +9209,6 @@ qemuDomainNetSupportsMTU(virDomainNetType type) return false; } -int -qemuDomainNetVLAN(virDomainNetDefPtr def) -{ - return qemuDomainDeviceAliasIndex(&def->info, "net"); -} - virDomainDiskDefPtr qemuDomainDiskByName(virDomainDefPtr def, diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h index 21e12f6594..ce8f69d336 100644 --- a/src/qemu/qemu_domain.h +++ b/src/qemu/qemu_domain.h @@ -805,8 +805,6 @@ bool qemuDomainSupportsNetdev(virDomainDefPtr def, bool qemuDomainNetSupportsMTU(virDomainNetType type); -int qemuDomainNetVLAN(virDomainNetDefPtr def); - int qemuDomainSetPrivatePaths(virQEMUDriverPtr driver, virDomainObjPtr vm);