aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp_generic.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:07 -0400
commit8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch)
treeb851d4c1fdbd396379279e4475f7f778a667a208 /drivers/net/ppp_generic.c
parent7c69ef79741910883d5543caafa06aca3ebadbd1 (diff)
[PATCH] devfs: Remove devfs_remove() function from the kernel tree
Removes the devfs_remove() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/ppp_generic.c')
-rw-r--r--drivers/net/ppp_generic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c
index 52bc51545134..16a59cafb8d3 100644
--- a/drivers/net/ppp_generic.c
+++ b/drivers/net/ppp_generic.c
@@ -2674,7 +2674,6 @@ static void __exit ppp_cleanup(void)
2674 cardmap_destroy(&all_ppp_units); 2674 cardmap_destroy(&all_ppp_units);
2675 if (unregister_chrdev(PPP_MAJOR, "ppp") != 0) 2675 if (unregister_chrdev(PPP_MAJOR, "ppp") != 0)
2676 printk(KERN_ERR "PPP: failed to unregister PPP device\n"); 2676 printk(KERN_ERR "PPP: failed to unregister PPP device\n");
2677 devfs_remove("ppp");
2678 class_device_destroy(ppp_class, MKDEV(PPP_MAJOR, 0)); 2677 class_device_destroy(ppp_class, MKDEV(PPP_MAJOR, 0));
2679 class_destroy(ppp_class); 2678 class_destroy(ppp_class);
2680} 2679}