]> err.no Git - linux-2.6/blobdiff - drivers/block/acsi_slm.c
[PATCH] USB: unusual_devs entry for Nokia N91
[linux-2.6] / drivers / block / acsi_slm.c
index b087b3a6f06f054b1f109b1e39f70da8776b6c59..4030a8fd11872992e2c5040746c873f6e8a6f01a 100644 (file)
@@ -65,7 +65,6 @@ not be guaranteed. There are several ways to assure this:
 #include <linux/time.h>
 #include <linux/mm.h>
 #include <linux/slab.h>
-#include <linux/devfs_fs_kernel.h>
 #include <linux/smp_lock.h>
 
 #include <asm/pgtable.h>
@@ -1027,10 +1026,6 @@ int init_module(void)
 
 void cleanup_module(void)
 {
-       int i;
-       for (i = 0; i < MAX_SLM; i++)
-               devfs_remove("slm/%d", i);
-       devfs_remove("slm");
        if (unregister_chrdev( ACSI_MAJOR, "slm" ) != 0)
                printk( KERN_ERR "acsi_slm: cleanup_module failed\n");
        atari_stram_free( SLMBuffer );