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:
parent
5f83c0049f
commit
7d5ba844df
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user