net: simplify net_client_init1()
commit1e81aba5ac0b908ab859bf8ddf43ece33732d49c
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 27 May 2015 16:16:52 +0000 (27 17:16 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 24 Jun 2015 15:33:42 +0000 (24 16:33 +0100)
tree6a8bc765008e9809b2558517e146b8d0bafa160e
parent4ef0defbad9bc8b195f3392d1b7dcb42cd7ebe11
net: simplify net_client_init1()

Drop the union and move the hubport creation into the !is_netdev case.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 1432743412-15943-6-git-send-email-stefanha@redhat.com
net/net.c