Re: [Qemu-devel] [PATCH 5/5] net: simplify net_client_init1()

2015-05-27 Thread Thomas Huth
On Wed, 27 May 2015 17:16:52 +0100 Stefan Hajnoczi wrote: > Drop the union and move the hubport creation into the !is_netdev case. > > Signed-off-by: Stefan Hajnoczi > --- > net/net.c | 38 -- > 1 file changed, 16 insertions(+), 22 deletions(-) > > diff --g

[Qemu-devel] [PATCH 5/5] net: simplify net_client_init1()

2015-05-27 Thread Stefan Hajnoczi
Drop the union and move the hubport creation into the !is_netdev case. Signed-off-by: Stefan Hajnoczi --- net/net.c | 38 -- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git a/net/net.c b/net/net.c index cc1793c..e57a089 100644 --- a/net/net.c +++