aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
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/wan
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/wan')
-rw-r--r--drivers/net/wan/cosa.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c
index c7b530628c8e..3d1e2b6700a7 100644
--- a/drivers/net/wan/cosa.c
+++ b/drivers/net/wan/cosa.c
@@ -418,12 +418,9 @@ static void __exit cosa_exit(void)
418 int i; 418 int i;
419 printk(KERN_INFO "Unloading the cosa module\n"); 419 printk(KERN_INFO "Unloading the cosa module\n");
420 420
421 for (i=0; i<nr_cards; i++) { 421 for (i=0; i<nr_cards; i++)
422 class_device_destroy(cosa_class, MKDEV(cosa_major, i)); 422 class_device_destroy(cosa_class, MKDEV(cosa_major, i));
423 devfs_remove("cosa/%d", i);
424 }
425 class_destroy(cosa_class); 423 class_destroy(cosa_class);
426 devfs_remove("cosa");
427 for (cosa=cosa_cards; nr_cards--; cosa++) { 424 for (cosa=cosa_cards; nr_cards--; cosa++) {
428 /* Clean up the per-channel data */ 425 /* Clean up the per-channel data */
429 for (i=0; i<cosa->nchannels; i++) { 426 for (i=0; i<cosa->nchannels; i++) {