patch-2.4.0-test5 linux/drivers/net/eepro.c

Next file: linux/drivers/net/fc/iph5526.c
Previous file: linux/drivers/net/depca.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/net/eepro.c linux/drivers/net/eepro.c
@@ -1798,7 +1798,7 @@
 		struct net_device *d = &dev_eepro[i];
 		unregister_netdev(d);
 
-		kfree_s(d->priv,sizeof(struct eepro_local));
+		kfree(d->priv);
 		d->priv=NULL;
 
 		/* If we don't do this, we can't re-insmod it later. */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)