diff options
Diffstat (limited to 'drivers/block/swim3.c')
-rw-r--r-- | drivers/block/swim3.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index 01f042f6f1c4..628877945f9b 100644 --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/fd.h> | 25 | #include <linux/fd.h> |
26 | #include <linux/ioctl.h> | 26 | #include <linux/ioctl.h> |
27 | #include <linux/blkdev.h> | 27 | #include <linux/blkdev.h> |
28 | #include <linux/devfs_fs_kernel.h> | ||
29 | #include <linux/interrupt.h> | 28 | #include <linux/interrupt.h> |
30 | #include <linux/module.h> | 29 | #include <linux/module.h> |
31 | #include <linux/spinlock.h> | 30 | #include <linux/spinlock.h> |
@@ -1019,8 +1018,6 @@ int swim3_init(void) | |||
1019 | int err = -ENOMEM; | 1018 | int err = -ENOMEM; |
1020 | int i; | 1019 | int i; |
1021 | 1020 | ||
1022 | devfs_mk_dir("floppy"); | ||
1023 | |||
1024 | swim = find_devices("floppy"); | 1021 | swim = find_devices("floppy"); |
1025 | while (swim && (floppy_count < MAX_FLOPPIES)) | 1022 | while (swim && (floppy_count < MAX_FLOPPIES)) |
1026 | { | 1023 | { |
@@ -1064,7 +1061,6 @@ int swim3_init(void) | |||
1064 | disk->queue = swim3_queue; | 1061 | disk->queue = swim3_queue; |
1065 | disk->flags |= GENHD_FL_REMOVABLE; | 1062 | disk->flags |= GENHD_FL_REMOVABLE; |
1066 | sprintf(disk->disk_name, "fd%d", i); | 1063 | sprintf(disk->disk_name, "fd%d", i); |
1067 | sprintf(disk->devfs_name, "floppy/%d", i); | ||
1068 | set_capacity(disk, 2880); | 1064 | set_capacity(disk, 2880); |
1069 | add_disk(disk); | 1065 | add_disk(disk); |
1070 | } | 1066 | } |