From: Adrian Bunk It seems very unlikely that this driver will go into any stable kernel before devfs will be removed. Signed-off-by: Adrian Bunk Cc: James Bottomley Signed-off-by: Andrew Morton --- drivers/scsi/ch.c | 4 ---- 1 files changed, 4 deletions(-) diff -puN drivers/scsi/ch.c~git-scsi-misc-drivers-scsi-chc-remove-devfs-stuff drivers/scsi/ch.c --- 25/drivers/scsi/ch.c~git-scsi-misc-drivers-scsi-chc-remove-devfs-stuff 2005-06-26 13:42:14.000000000 -0700 +++ 25-akpm/drivers/scsi/ch.c 2005-06-26 13:42:14.000000000 -0700 @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include /* here are all the ioctls */ @@ -936,8 +935,6 @@ static int ch_probe(struct device *dev) if (init) ch_init_elem(ch); - devfs_mk_cdev(MKDEV(SCSI_CHANGER_MAJOR,ch->minor), - S_IFCHR | S_IRUGO | S_IWUGO, ch->name); class_device_create(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR,ch->minor), dev, "s%s", ch->name); @@ -970,7 +967,6 @@ static int ch_remove(struct device *dev) class_device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR,ch->minor)); - devfs_remove(ch->name); kfree(ch->dt); kfree(ch); ch_devcount--; _