svn commit: r192019 - head/sys/cam/scsi
Edward Tomasz Napierala
trasz at FreeBSD.org
Tue May 12 16:38:33 UTC 2009
Author: trasz
Date: Tue May 12 16:38:32 2009
New Revision: 192019
URL: http://svn.freebsd.org/changeset/base/192019
Log:
Remove dead code.
Found with: Coverity Prevent(tm)
CID: 3667
Modified:
head/sys/cam/scsi/scsi_pass.c
Modified: head/sys/cam/scsi/scsi_pass.c
==============================================================================
--- head/sys/cam/scsi/scsi_pass.c Tue May 12 16:07:08 2009 (r192018)
+++ head/sys/cam/scsi/scsi_pass.c Tue May 12 16:38:32 2009 (r192019)
@@ -179,7 +179,6 @@ passasync(void *callback_arg, u_int32_t
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
* 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,
More information about the svn-src-head
mailing list