Removes essentially unused variables from scsi_da probe setups

PR:		kern/169835
Reviewed by:	pjd (mentor)
Approved by:	mav
MFC after:	2 weeks
This commit is contained in:
Steven Hartland 2013-01-10 11:28:12 +00:00
parent 7ef204a2a9
commit d8e8ee3177
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245251

View File

@ -2014,7 +2014,6 @@ dastart(struct cam_periph *periph, union ccb *start_ccb)
}
case DA_STATE_PROBE:
{
struct ccb_scsiio *csio;
struct scsi_read_capacity_data *rcap;
rcap = (struct scsi_read_capacity_data *)
@ -2024,8 +2023,7 @@ dastart(struct cam_periph *periph, union ccb *start_ccb)
/* da_free_periph??? */
break;
}
csio = &start_ccb->csio;
scsi_read_capacity(csio,
scsi_read_capacity(&start_ccb->csio,
/*retries*/4,
dadone,
MSG_SIMPLE_Q_TAG,
@ -2039,7 +2037,6 @@ dastart(struct cam_periph *periph, union ccb *start_ccb)
}
case DA_STATE_PROBE2:
{
struct ccb_scsiio *csio;
struct scsi_read_capacity_data_long *rcaplong;
rcaplong = (struct scsi_read_capacity_data_long *)
@ -2049,8 +2046,7 @@ dastart(struct cam_periph *periph, union ccb *start_ccb)
/* da_free_periph??? */
break;
}
csio = &start_ccb->csio;
scsi_read_capacity_16(csio,
scsi_read_capacity_16(&start_ccb->csio,
/*retries*/ 4,
/*cbfcnp*/ dadone,
/*tag_action*/ MSG_SIMPLE_Q_TAG,