sky2: handle network device allocation failure
authorshemminger@linux-foundation.org <shemminger@linux-foundation.org>
Fri, 26 Jan 2007 19:38:36 +0000 (11:38 -0800)
committerJeff Garzik <jeff@garzik.org>
Mon, 5 Feb 2007 21:58:49 +0000 (16:58 -0500)
If alloc_etherdev() failed, then sky2_init_netdev will return NULL,
and sky2_probe would end up returning 0 instead of -ENOMEM.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found