Subject: scsi: fix warning in scsi_sysfs.c From: Ladislav Penko <lpenko@xxxxxx> change: trivial fix warning (removed unused variable rq) Signed-off-by: Ladislav Penko <lpenko@xxxxxx> Index: linux/drivers/scsi/scsi_sysfs.c =================================================================== --- linux.orig/drivers/scsi/scsi_sysfs.c +++ linux/drivers/scsi/scsi_sysfs.c @@ -715,7 +715,6 @@ static int attr_add(struct device *dev, int scsi_sysfs_add_sdev(struct scsi_device *sdev) { int error, i; - struct request_queue *rq = sdev->request_queue; if ((error = scsi_device_set_state(sdev, SDEV_RUNNING)) != 0) return error; - 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