diff options
Diffstat (limited to 'drivers/block/ub.c')
-rw-r--r-- | drivers/block/ub.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/ub.c b/drivers/block/ub.c index 87ec6458bd1d..d62b49fbf10c 100644 --- a/drivers/block/ub.c +++ b/drivers/block/ub.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <scsi/scsi.h> | 28 | #include <scsi/scsi.h> |
29 | 29 | ||
30 | #define DRV_NAME "ub" | 30 | #define DRV_NAME "ub" |
31 | #define DEVFS_NAME DRV_NAME | ||
32 | 31 | ||
33 | #define UB_MAJOR 180 | 32 | #define UB_MAJOR 180 |
34 | 33 | ||
@@ -2290,7 +2289,6 @@ static int ub_probe_lun(struct ub_dev *sc, int lnum) | |||
2290 | goto err_diskalloc; | 2289 | goto err_diskalloc; |
2291 | 2290 | ||
2292 | sprintf(disk->disk_name, DRV_NAME "%c", lun->id + 'a'); | 2291 | sprintf(disk->disk_name, DRV_NAME "%c", lun->id + 'a'); |
2293 | sprintf(disk->devfs_name, DEVFS_NAME "/%c", lun->id + 'a'); | ||
2294 | disk->major = UB_MAJOR; | 2292 | disk->major = UB_MAJOR; |
2295 | disk->first_minor = lun->id * UB_PARTS_PER_LUN; | 2293 | disk->first_minor = lun->id * UB_PARTS_PER_LUN; |
2296 | disk->fops = &ub_bd_fops; | 2294 | disk->fops = &ub_bd_fops; |