Explorar o código

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>
Jason Wang %!s(int64=10) %!d(string=hai) anos
pai
achega
07636d5399
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      net/hub.c

+ 0 - 1
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);
     assert(opts->kind == NET_CLIENT_OPTIONS_KIND_HUBPORT);
     hubport = opts->hubport;
     hubport = opts->hubport;
 
 
-    /* Treat hub port like a backend, NIC must be the one to peer */
     if (peer) {
     if (peer) {
         return -EINVAL;
         return -EINVAL;
     }
     }