summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2009-01-14 21:27:30 +0000
committertrasz <trasz@FreeBSD.org>2009-01-14 21:27:30 +0000
commitf9e2ef586260ee865384f4ee7ff14de4ec78b821 (patch)
tree027ff930a2a5c000510a7e4e99d1a78d3557e2ea /sys/cam
parent301b058b920935cb678283afad49031e48f0b339 (diff)
downloadFreeBSD-src-f9e2ef586260ee865384f4ee7ff14de4ec78b821.zip
FreeBSD-src-f9e2ef586260ee865384f4ee7ff14de4ec78b821.tar.gz
Remove unused variable.
Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Found with: Coverity Prevent(tm) CID: 3665
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 1e47660..f6f0aa4 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,
OpenPOWER on IntegriCloud