patch-2.4.0-prerelease linux/net/atm/lec.c
Next file: linux/net/atm/proc.c
Previous file: linux/net/atm/common.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sat Dec 30 11:19:13 2000
- Orig file:
v2.4.0-test12/linux/net/atm/lec.c
- Orig date:
Thu Jul 6 21:37:24 2000
diff -u --recursive --new-file v2.4.0-test12/linux/net/atm/lec.c linux/net/atm/lec.c
@@ -857,12 +857,7 @@
for (i = 0; i < MAX_LEC_ITF; i++) {
if (dev_lec[i] != NULL) {
priv = (struct lec_priv *)dev_lec[i]->priv;
- if (priv->is_trdev) {
-#ifdef CONFIG_TR
- unregister_trdev(dev_lec[i]);
-#endif
- } else
- unregister_netdev(dev_lec[i]);
+ unregister_trdev(dev_lec[i]);
kfree(dev_lec[i]);
dev_lec[i] = NULL;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)