summaryrefslogtreecommitdiffstats
path: root/sys/dev/advansys/adwcam.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/advansys/adwcam.c')
-rw-r--r--sys/dev/advansys/adwcam.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/advansys/adwcam.c b/sys/dev/advansys/adwcam.c
index 875813b..d925045 100644
--- a/sys/dev/advansys/adwcam.c
+++ b/sys/dev/advansys/adwcam.c
@@ -344,12 +344,10 @@ adw_action(struct cam_sim *sim, union ccb *ccb)
case XPT_SCSI_IO: /* Execute the requested I/O operation */
{
struct ccb_scsiio *csio;
- struct ccb_hdr *ccbh;
struct acb *acb;
int error;
csio = &ccb->csio;
- ccbh = &ccb->ccb_h;
/* Max supported CDB length is 12 bytes */
if (csio->cdb_len > 12) {
OpenPOWER on IntegriCloud