diff options
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 ); |