Message ID | YXgybUhYN+Vrruj8@localhost.localdomain (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | scsi, sr: remove duplicate assignment | expand |
Alexey, Applied to 5.16/scsi-staging, thanks!
--- 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;
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> --- drivers/scsi/sr.c | 1 - 1 file changed, 1 deletion(-)