summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2013-02-21 02:40:20 +0000
committerimp <imp@FreeBSD.org>2013-02-21 02:40:20 +0000
commit8959a7aebb9aede121d4c8f2c7ba5ecd1af8fbcf (patch)
tree4484b143e63a91949ffcee6e069ae6ac0f28a445 /sys/pci
parent959b078e13257d095bb1374d6ddad433303847e8 (diff)
downloadFreeBSD-src-8959a7aebb9aede121d4c8f2c7ba5ecd1af8fbcf.zip
FreeBSD-src-8959a7aebb9aede121d4c8f2c7ba5ecd1af8fbcf.tar.gz
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.
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/ncr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 123b684..ee8c2bc 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -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);
}
OpenPOWER on IntegriCloud