]> err.no Git - linux-2.6/blobdiff - drivers/block/ub.c
V4L/DVB (4322): Fix dvb-pll autoprobing
[linux-2.6] / drivers / block / ub.c
index 87ec6458bd1d90531cb0226d0177d0cd0677efe0..d62b49fbf10c319334ca6f26e49f58a46747b6f3 100644 (file)
@@ -28,7 +28,6 @@
 #include <scsi/scsi.h>
 
 #define DRV_NAME "ub"
-#define DEVFS_NAME DRV_NAME
 
 #define UB_MAJOR 180
 
@@ -2290,7 +2289,6 @@ static int ub_probe_lun(struct ub_dev *sc, int lnum)
                goto err_diskalloc;
 
        sprintf(disk->disk_name, DRV_NAME "%c", lun->id + 'a');
-       sprintf(disk->devfs_name, DEVFS_NAME "/%c", lun->id + 'a');
        disk->major = UB_MAJOR;
        disk->first_minor = lun->id * UB_PARTS_PER_LUN;
        disk->fops = &ub_bd_fops;