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 | 7c69ef79741910883d5543caafa06aca3ebadbd1 (patch) | |
tree | 655d3f60abee0195d0aadb2c86ab04ccca89a307 /drivers/block/acsi_slm.c | |
parent | 1a715c5cf917326a285533d1116d725f5f2593c2 (diff) |
[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
Removes the devfs_mk_cdev() 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 1ecbcc3da147..b087b3a6f06f 100644 --- a/drivers/block/acsi_slm.c +++ b/drivers/block/acsi_slm.c | |||
@@ -1005,10 +1005,6 @@ int slm_init( void ) | |||
1005 | BufferP = SLMBuffer; | 1005 | BufferP = SLMBuffer; |
1006 | SLMState = IDLE; | 1006 | SLMState = IDLE; |
1007 | 1007 | ||
1008 | for (i = 0; i < MAX_SLM; i++) { | ||
1009 | devfs_mk_cdev(MKDEV(ACSI_MAJOR, i), | ||
1010 | S_IFCHR|S_IRUSR|S_IWUSR, "slm/%d", i); | ||
1011 | } | ||
1012 | return 0; | 1008 | return 0; |
1013 | } | 1009 | } |
1014 | 1010 | ||