mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove some Giant unlocks I missed in r267290.
This commit is contained in:
parent
46e89834dc
commit
896ae82d59
1 changed files with 0 additions and 3 deletions
|
|
@ -1358,19 +1358,16 @@ static int hpt_rescan_bus(void)
|
|||
ldm_for_each_vbus(vbus, vbus_ext) {
|
||||
if ((ccb = xpt_alloc_ccb()) == NULL)
|
||||
{
|
||||
mtx_unlock(&Giant);
|
||||
return(ENOMEM);
|
||||
}
|
||||
if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(vbus_ext->sim),
|
||||
CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP)
|
||||
{
|
||||
xpt_free_ccb(ccb);
|
||||
mtx_unlock(&Giant);
|
||||
return(EIO);
|
||||
}
|
||||
xpt_rescan(ccb);
|
||||
}
|
||||
mtx_unlock(&Giant);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue