aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-05-24 05:05:24 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-05-26 11:30:57 -0400
commit644e02ea147f8bea18800107f443ea5fa7f17f4f (patch)
treed2e0bdf7b4090f57a8acf6e4245041deb5b03b46
parenta283bd37d00e92e8874ca6325ae071691d4db388 (diff)
[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 <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/ieee1394/sbp2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c
index 094e646ed4de..aa941025072e 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,
2151 struct scsi_cmnd *SCpnt) 2151 struct scsi_cmnd *SCpnt)
2152{ 2152{
2153 u8 *scsi_buf = SCpnt->request_buffer; 2153 u8 *scsi_buf = SCpnt->request_buffer;
2154 u8 device_type = SBP2_DEVICE_TYPE (scsi_id->sbp2_device_type_and_lun);
2155 2154
2156 SBP2_DEBUG("sbp2_check_sbp2_response"); 2155 SBP2_DEBUG("sbp2_check_sbp2_response");
2157 2156