diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 15:25:07 -0400 |
commit | 8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch) | |
tree | b851d4c1fdbd396379279e4475f7f778a667a208 /drivers/block/acsi_slm.c | |
parent | 7c69ef79741910883d5543caafa06aca3ebadbd1 (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/block/acsi_slm.c')
-rw-r--r-- | drivers/block/acsi_slm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/block/acsi_slm.c b/drivers/block/acsi_slm.c index b087b3a6f06f..7495fef24183 100644 --- a/drivers/block/acsi_slm.c +++ b/drivers/block/acsi_slm.c | |||
@@ -1027,10 +1027,6 @@ int init_module(void) | |||
1027 | 1027 | ||
1028 | void cleanup_module(void) | 1028 | void cleanup_module(void) |
1029 | { | 1029 | { |
1030 | int i; | ||
1031 | for (i = 0; i < MAX_SLM; i++) | ||
1032 | devfs_remove("slm/%d", i); | ||
1033 | devfs_remove("slm"); | ||
1034 | if (unregister_chrdev( ACSI_MAJOR, "slm" ) != 0) | 1030 | if (unregister_chrdev( ACSI_MAJOR, "slm" ) != 0) |
1035 | printk( KERN_ERR "acsi_slm: cleanup_module failed\n"); | 1031 | printk( KERN_ERR "acsi_slm: cleanup_module failed\n"); |
1036 | atari_stram_free( SLMBuffer ); | 1032 | atari_stram_free( SLMBuffer ); |