scsi: sr: Remove duplicate assignment
Link: https://lore.kernel.org/r/YXgybUhYN+Vrruj8@localhost.localdomain Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Родитель
be39f4fd8d
Коммит
a1efc896cb
|
@ -692,7 +692,6 @@ static int sr_probe(struct device *dev)
|
|||
cd->device = sdev;
|
||||
cd->disk = disk;
|
||||
cd->driver = &sr_template;
|
||||
cd->disk = disk;
|
||||
cd->capacity = 0x1fffff;
|
||||
cd->device->changed = 1; /* force recheck CD type */
|
||||
cd->media_present = 1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче