public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi, sr: remove duplicate assignment
@ 2021-10-26 16:53 Alexey Dobriyan
  2021-10-28  3:19 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2021-10-26 16:53 UTC (permalink / raw)
  To: jejb, martin.petersen; +Cc: linux-scsi

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 drivers/scsi/sr.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/scsi/sr.c
+++ b/drivers/scsi/sr.c
@@ -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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] scsi, sr: remove duplicate assignment
  2021-10-26 16:53 [PATCH] scsi, sr: remove duplicate assignment Alexey Dobriyan
@ 2021-10-28  3:19 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2021-10-28  3:19 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: jejb, martin.petersen, linux-scsi


Alexey,

Applied to 5.16/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-28  3:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-26 16:53 [PATCH] scsi, sr: remove duplicate assignment Alexey Dobriyan
2021-10-28  3:19 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox