Date: Thu, 21 Feb 2013 02:40:20 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r247070 - head/sys/pci Message-ID: <201302210240.r1L2eKOq034145@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Thu Feb 21 02:40:20 2013 New Revision: 247070 URL: http://svnweb.freebsd.org/changeset/base/247070 Log: 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. Modified: head/sys/pci/ncr.c Modified: head/sys/pci/ncr.c ============================================================================== --- head/sys/pci/ncr.c Thu Feb 21 02:34:04 2013 (r247069) +++ head/sys/pci/ncr.c Thu Feb 21 02:40:20 2013 (r247070) @@ -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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302210240.r1L2eKOq034145>