Commit 2e710772 authored by Andrew Morton's avatar Andrew Morton Committed by James Bottomley

[PATCH] scsi_disk_release() warning fix

drivers/scsi/sd.c: In function `scsi_disk_release':
drivers/scsi/sd.c:1477: warning: unused variable `sdev'
parent fe58b80a
......@@ -1474,7 +1474,6 @@ static int sd_remove(struct device *dev)
static void scsi_disk_release(struct kref *kref)
{
struct scsi_disk *sdkp = to_scsi_disk(kref);
struct scsi_device *sdev = sdkp->device;
struct gendisk *disk = sdkp->disk;
spin_lock(&sd_index_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment