mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
Most other giant locked storage drivers in the tree don't use
splsoftclock to note the need for future locking, so remove it from here.
This commit is contained in:
parent
e1a1297625
commit
62c658aa9f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247070
|
@ -6396,12 +6396,8 @@ static nccb_p ncr_get_nccb
|
|||
(ncb_p np, u_long target, u_long lun)
|
||||
{
|
||||
lcb_p lp;
|
||||
int s;
|
||||
nccb_p cp = NULL;
|
||||
|
||||
/* Keep our timeout handler out */
|
||||
s = splsoftclock();
|
||||
|
||||
/*
|
||||
** Lun structure available ?
|
||||
*/
|
||||
|
@ -6434,7 +6430,6 @@ static nccb_p ncr_get_nccb
|
|||
}
|
||||
cp->magic = 1;
|
||||
}
|
||||
splx(s);
|
||||
return (cp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue