Date: Tue, 12 May 2009 16:38:32 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192019 - head/sys/cam/scsi Message-ID: <200905121638.n4CGcWN7027488@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905121638.n4CGcWN7027488>