patch-1.3.33 linux/drivers/net/3c505.c

Next file: linux/drivers/net/3c507.c
Previous file: linux/drivers/net/3c503.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.32/linux/drivers/net/3c505.c linux/drivers/net/3c505.c
@@ -1258,7 +1258,7 @@
 	adapter = (elp_device *)(dev->priv = kmalloc(sizeof(elp_device), GFP_KERNEL));
 	CHECK_NULL(adapter);
 	if (adapter == NULL)
-		return -ENOMEM;
+		return;
 	memset(&(adapter->stats), 0, sizeof(struct enet_statistics));
 
 	/*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this