From ab5f3f84c4362c3014b1ecdb450f430d01b96f19 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Tue, 24 Jul 2012 16:35:08 +0100 Subject: net: Drop vlan argument to qemu_new_net_client() Since hubs are now used to implement the 'vlan' feature and the vlan argument is always NULL, remove the argument entirely and update all net clients that use qemu_new_net_client(). Signed-off-by: Stefan Hajnoczi Signed-off-by: Zhi Yong Wu Reviewed-by: Laszlo Ersek --- net/tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/tap.c') diff --git a/net/tap.c b/net/tap.c index 43c3fcd749..10ae98d18b 100644 --- a/net/tap.c +++ b/net/tap.c @@ -331,7 +331,7 @@ static TAPState *net_tap_fd_init(VLANClientState *peer, VLANClientState *nc; TAPState *s; - nc = qemu_new_net_client(&net_tap_info, NULL, peer, model, name); + nc = qemu_new_net_client(&net_tap_info, peer, model, name); s = DO_UPCAST(TAPState, nc, nc); -- cgit v1.2.3