devices/e100-2.6.26-ethercat.c
changeset 1300 428bf6d7c905
parent 1276 c4fafee8043a
child 1311 bf7c62bc533f
--- a/devices/e100-2.6.26-ethercat.c	Wed Oct 22 12:04:07 2008 +0000
+++ b/devices/e100-2.6.26-ethercat.c	Wed Oct 22 14:58:22 2008 +0000
@@ -2895,7 +2895,6 @@
 	// offer device to EtherCAT master module
 	nic->ecdev = ecdev_offer(netdev, e100_ec_poll, THIS_MODULE);
 	if (nic->ecdev) {
-		strcpy(netdev->name, "ec0");
 		if (ecdev_open(nic->ecdev)) {
 			ecdev_withdraw(nic->ecdev);
 			goto err_out_free;