net: Avoid gcc'ism in net_host_device_add
authorJan Kiszka <jan.kiszka@web.de>
Tue, 28 Apr 2009 19:25:58 +0000 (21:25 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 May 2009 14:44:10 +0000 (09:44 -0500)
commit206ab6e090eeddce71372041454d50d93a63017d
treeccb8efc37f54914ae76159ad93eb991a367a6871
parent0fc8e0ec7f42fb79763b875edea2f50c0691c1f4
net: Avoid gcc'ism in net_host_device_add

>> +    if (net_client_init(device, opts ? : "") < 0) {
>
> Is this a gcc extension?  Do we want to introduce this construct to the
> code base.

Valid remark, fix below.

Thanks,
Jan

-------->

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c