From: Andrew Morton Date: Tue, 24 May 2005 09:05:24 +0000 (-0700) Subject: [SCSI] git-scsi-misc-sbp2-warning-fix X-Git-Tag: v2.6.14-rc2~49^2~36^2~56^2^2~27^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=644e02ea147f8bea18800107f443ea5fa7f17f4f;p=linux-2.6-omap-h63xx.git [SCSI] git-scsi-misc-sbp2-warning-fix drivers/ieee1394/sbp2.c: In function `sbp2_check_sbp2_response': drivers/ieee1394/sbp2.c:2154: warning: unused variable `device_type' Signed-off-by: Andrew Morton Signed-off-by: James Bottomley --- diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c index 094e646ed4d..aa941025072 100644 --- a/drivers/ieee1394/sbp2.c +++ b/drivers/ieee1394/sbp2.c @@ -2151,7 +2151,6 @@ static void sbp2_check_sbp2_response(struct scsi_id_instance_data *scsi_id, struct scsi_cmnd *SCpnt) { u8 *scsi_buf = SCpnt->request_buffer; - u8 device_type = SBP2_DEVICE_TYPE (scsi_id->sbp2_device_type_and_lun); SBP2_DEBUG("sbp2_check_sbp2_response");