diff options
author | Greg KH <gregkh@suse.de> | 2006-01-18 19:17:46 -0500 |
---|---|---|
committer | <jejb@mulgrave.il.steeleye.com> | 2006-02-27 23:55:04 -0500 |
commit | 5e3c34c1e988a0dfe177c38cf324e8e321c55ef5 (patch) | |
tree | 812e95ccda5860a16fe3f53343499d2c607cbf23 /drivers/scsi/scsi.c | |
parent | c67a848c3587296fe9794c95d1be7109c4c85461 (diff) |
[SCSI] Remove devfs support from the SCSI subsystem
As devfs has been disabled from the kernel tree for a number of months
now (5 to be exact), here's a patch against 2.6.16-rc1-git1 that removes
support for it from the SCSI subsystem.
The patch also removes the scsi_disk devfs_name field as it's no longer
needed.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r-- | drivers/scsi/scsi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 11b27ba0cd41..6913b0623167 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c | |||
@@ -48,7 +48,6 @@ | |||
48 | #include <linux/delay.h> | 48 | #include <linux/delay.h> |
49 | #include <linux/init.h> | 49 | #include <linux/init.h> |
50 | #include <linux/completion.h> | 50 | #include <linux/completion.h> |
51 | #include <linux/devfs_fs_kernel.h> | ||
52 | #include <linux/unistd.h> | 51 | #include <linux/unistd.h> |
53 | #include <linux/spinlock.h> | 52 | #include <linux/spinlock.h> |
54 | #include <linux/kmod.h> | 53 | #include <linux/kmod.h> |
@@ -1247,7 +1246,6 @@ static int __init init_scsi(void) | |||
1247 | for_each_cpu(i) | 1246 | for_each_cpu(i) |
1248 | INIT_LIST_HEAD(&per_cpu(scsi_done_q, i)); | 1247 | INIT_LIST_HEAD(&per_cpu(scsi_done_q, i)); |
1249 | 1248 | ||
1250 | devfs_mk_dir("scsi"); | ||
1251 | printk(KERN_NOTICE "SCSI subsystem initialized\n"); | 1249 | printk(KERN_NOTICE "SCSI subsystem initialized\n"); |
1252 | return 0; | 1250 | return 0; |
1253 | 1251 | ||
@@ -1272,7 +1270,6 @@ static void __exit exit_scsi(void) | |||
1272 | scsi_exit_sysctl(); | 1270 | scsi_exit_sysctl(); |
1273 | scsi_exit_hosts(); | 1271 | scsi_exit_hosts(); |
1274 | scsi_exit_devinfo(); | 1272 | scsi_exit_devinfo(); |
1275 | devfs_remove("scsi"); | ||
1276 | scsi_exit_procfs(); | 1273 | scsi_exit_procfs(); |
1277 | scsi_exit_queue(); | 1274 | scsi_exit_queue(); |
1278 | } | 1275 | } |