summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ibm/iseries_veth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/ibm/iseries_veth.c')
-rw-r--r--drivers/net/ethernet/ibm/iseries_veth.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/ibm/iseries_veth.c b/drivers/net/ethernet/ibm/iseries_veth.c
index acc31af6594..1cafa6562a0 100644
--- a/drivers/net/ethernet/ibm/iseries_veth.c
+++ b/drivers/net/ethernet/ibm/iseries_veth.c
@@ -1032,10 +1032,8 @@ static struct net_device *veth_probe_one(int vlan,
}
dev = alloc_etherdev(sizeof (struct veth_port));
- if (! dev) {
- veth_error("Unable to allocate net_device structure!\n");
+ if (!dev)
return NULL;
- }
port = netdev_priv(dev);