diff options
author | trasz <trasz@FreeBSD.org> | 2009-05-12 16:38:32 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-05-12 16:38:32 +0000 |
commit | b5f0b986ce45a0d479f34281c2aa5889b51e49ed (patch) | |
tree | 54bc23606c8f191ef04e2aab9581438adab0a0a8 /sys/cam | |
parent | 071f91a2827adce07907edd0de70fc8afc832543 (diff) | |
download | FreeBSD-src-b5f0b986ce45a0d479f34281c2aa5889b51e49ed.zip FreeBSD-src-b5f0b986ce45a0d479f34281c2aa5889b51e49ed.tar.gz |
Remove dead code.
Found with: Coverity Prevent(tm)
CID: 3667
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/scsi/scsi_pass.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c index c60bb92..4e4e48f 100644 --- a/sys/cam/scsi/scsi_pass.c +++ b/sys/cam/scsi/scsi_pass.c @@ -179,7 +179,6 @@ passasync(void *callback_arg, u_int32_t code, struct cam_path *path, void *arg) { struct cam_periph *periph; - struct cam_sim *sim; periph = (struct cam_periph *)callback_arg; @@ -198,7 +197,6 @@ passasync(void *callback_arg, u_int32_t code, * this device and start the probe * process. */ - sim = xpt_path_sim(cgd->ccb_h.path); status = cam_periph_alloc(passregister, passoninvalidate, passcleanup, passstart, "pass", CAM_PERIPH_BIO, cgd->ccb_h.path, |