Remove dead code.
Found with: Coverity Prevent(tm) CID: 3667
This commit is contained in:
parent
ff10bcec5d
commit
ee857ce73b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192019
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user