aboutsummaryrefslogtreecommitdiff
path: root/sys/cam
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2009-01-14 21:27:30 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2009-01-14 21:27:30 +0000
commitc654e309957465fc31ffd356924378a48d5259bd (patch)
tree027ff930a2a5c000510a7e4e99d1a78d3557e2ea /sys/cam
parent1cec6ef6a99be931113726cacbbaa3c65c8a4ee3 (diff)
Notes
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_da.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index 1e47660a4d24..f6f0aa412697 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -1021,7 +1021,6 @@ daasync(void *callback_arg, u_int32_t code,
case AC_FOUND_DEVICE:
{
struct ccb_getdev *cgd;
- struct cam_sim *sim;
cam_status status;
cgd = (struct ccb_getdev *)arg;
@@ -1038,7 +1037,6 @@ daasync(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(daregister, daoninvalidate,
dacleanup, dastart,
"da", CAM_PERIPH_BIO,