patch-2.3.99-pre7 linux/drivers/net/wan/lmc/lmc_main.c
Next file: linux/drivers/net/wan/sdla_chdlc.c
Previous file: linux/drivers/net/wan/lapbether.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu May 4 11:31:21 2000
- Orig file:
v2.3.99-pre6/linux/drivers/net/wan/lmc/lmc_main.c
- Orig date:
Wed Apr 26 16:34:08 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/wan/lmc/lmc_main.c linux/drivers/net/wan/lmc/lmc_main.c
@@ -856,11 +856,6 @@
/*
* Switch to common hdlc%d naming. We name by type not by vendor
*/
-#if LINUX_VERSION_CODE < 0x20363
- dev->name = ((char *) (dev)) + sizeof (struct ppp_device);
-#else
- dev->name = ((char *) (dev)) + sizeof (struct net_device);
-#endif
dev_alloc_name(dev, "hdlc%d");
#else
@@ -868,7 +863,6 @@
* GCOM uses LMC vendor name so that clients can know which card
* to attach to.
*/
- dev->name = ((char *) (dev)) + sizeof (struct ppp_device);
dev_alloc_name(dev, "lmc%d");
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)