From: Jason Wang Date: Mon, 2 Feb 2015 07:06:36 +0000 (+0800) Subject: net: remove the wrong comment in net_init_hubport() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=07636d53999092daa9e3d281ea137be0795d7078;p=qemu.git net: remove the wrong comment in net_init_hubport() Not only nic could be the one to peer. Signed-off-by: Jason Wang Message-id: 1422860798-17495-2-git-send-email-jasowang@redhat.com Signed-off-by: Stefan Hajnoczi --- diff --git a/net/hub.c b/net/hub.c index ef09d5f44d..2b60ab9a60 100644 --- a/net/hub.c +++ b/net/hub.c @@ -288,7 +288,6 @@ int net_init_hubport(const NetClientOptions *opts, const char *name, assert(opts->kind == NET_CLIENT_OPTIONS_KIND_HUBPORT); hubport = opts->hubport; - /* Treat hub port like a backend, NIC must be the one to peer */ if (peer) { return -EINVAL; }