From 62c658aa9f7f9953d18259a12e110d65c30c4102 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 21 Feb 2013 02:40:20 +0000 Subject: [PATCH] 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. --- sys/pci/ncr.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c index 123b6843b807..ee8c2bc79acb 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); }