diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 21:15:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 12:25:07 -0700 |
commit | 8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch) | |
tree | b851d4c1fdbd396379279e4475f7f778a667a208 /drivers/char/raw.c | |
parent | 7c69ef79741910883d5543caafa06aca3ebadbd1 (diff) | |
download | linux-3.10-8ab5e4c15b53e147c08031a959d9f776823dbe73.tar.gz linux-3.10-8ab5e4c15b53e147c08031a959d9f776823dbe73.tar.bz2 linux-3.10-8ab5e4c15b53e147c08031a959d9f776823dbe73.zip |
[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/char/raw.c')
-rw-r--r-- | drivers/char/raw.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/char/raw.c b/drivers/char/raw.c index 72c8ee4c006..941a17ab219 100644 --- a/drivers/char/raw.c +++ b/drivers/char/raw.c @@ -318,12 +318,6 @@ error: static void __exit raw_exit(void) { - int i; - - for (i = 1; i < MAX_RAW_MINORS; i++) - devfs_remove("raw/raw%d", i); - devfs_remove("raw/rawctl"); - devfs_remove("raw"); class_device_destroy(raw_class, MKDEV(RAW_MAJOR, 0)); class_destroy(raw_class); cdev_del(&raw_cdev); |