svn commit: r247070 - head/sys/pci

Warner Losh imp at FreeBSD.org
Thu Feb 21 02:40:20 UTC 2013


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);
 }
 


More information about the svn-src-all mailing list