On Wed, 27 May 2015 17:16:51 +0100
Stefan Hajnoczi wrote:
> Both is_netdev and !is_netdev paths already check that
> net_client_init_func[opts->kind] is non-NULL so there is no need for the
> if statement.
>
> Signed-off-by: Stefan Hajnoczi
> ---
> net/net.c | 31 ++
Both is_netdev and !is_netdev paths already check that
net_client_init_func[opts->kind] is non-NULL so there is no need for the
if statement.
Signed-off-by: Stefan Hajnoczi
---
net/net.c | 31 ++-
1 file changed, 14 insertions(+), 17 deletions(-)
diff --git a/net/net