From: Viral Mehta <viral.mehta@xxxxxxxxxxxxxxx> cd->disk cannot change in between, remove the first assignement Signed-off-by: Viral Mehta <viral.mehta@xxxxxxxxxxxxxxx> --- drivers/scsi/sr.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index 0a90abc..951d554 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c @@ -609,7 +609,6 @@ static int sr_probe(struct device *dev) blk_queue_rq_timeout(sdev->request_queue, SR_TIMEOUT); cd->device = sdev; - cd->disk = disk; cd->driver = &sr_template; cd->disk = disk; cd->capacity = 0x1fffff; -- 1.6.6 This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html