Commit 07636d53 authored by Jason Wang's avatar Jason Wang Committed by Stefan Hajnoczi
Browse files

net: remove the wrong comment in net_init_hubport()



Not only nic could be the one to peer.

Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
Message-id: 1422860798-17495-2-git-send-email-jasowang@redhat.com
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent a6efd6ae
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
    }