aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2015-02-02 15:06:36 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2015-02-06 14:06:44 +0000
commit07636d53999092daa9e3d281ea137be0795d7078 (patch)
tree3491b4e461184ff2576ddc639bb97eb5a34fd61d /net
parenta6efd6ae7b8696bfeb0336826b01bfe0e1840154 (diff)
net: remove the wrong comment in net_init_hubport()
Not only nic could be the one to peer. Signed-off-by: Jason Wang <jasowang@redhat.com> Message-id: 1422860798-17495-2-git-send-email-jasowang@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'net')
-rw-r--r--net/hub.c1
1 files changed, 0 insertions, 1 deletions
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;
}