[SCSI] git-scsi-misc-sbp2-warning-fix
authorAndrew Morton <akpm@osdl.org>
Tue, 24 May 2005 09:05:24 +0000 (02:05 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 26 May 2005 15:30:57 +0000 (11:30 -0400)
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>
drivers/ieee1394/sbp2.c

index 094e646ed4de2dc5d717c47e9e15f90486f85889..aa941025072ef2695ec99afa8cecbed41aa18641 100644 (file)
@@ -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");