Skip to contentSkip to conversation

scsi, sr: remove duplicate assignment

PATCH Applied Alexey Dobriyan 2 participants 2 messages Oct 26, 2021 – Oct 28, 2021 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi, sr: remove duplicate assignment

---

 drivers/scsi/sr.c |    1 -
 1 file changed, 1 deletion(-)
drivers/scsi/sr.c +0 -1
@@ -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;
#1 lore raw

Alexey,

Applied to 5.16/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering