svn commit: r219781 - head/sys/netgraph
Gleb Smirnoff
glebius at FreeBSD.org
Sat Mar 19 19:37:53 UTC 2011
Author: glebius
Date: Sat Mar 19 19:37:53 2011
New Revision: 219781
URL: http://svn.freebsd.org/changeset/base/219781
Log:
Remove spl(9) remnants.
Modified:
head/sys/netgraph/ng_iface.c
Modified: head/sys/netgraph/ng_iface.c
==============================================================================
--- head/sys/netgraph/ng_iface.c Sat Mar 19 19:30:49 2011 (r219780)
+++ head/sys/netgraph/ng_iface.c Sat Mar 19 19:37:53 2011 (r219781)
@@ -286,12 +286,11 @@ static int
ng_iface_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
{
struct ifreq *const ifr = (struct ifreq *) data;
- int s, error = 0;
+ int error = 0;
#ifdef DEBUG
ng_iface_print_ioctl(ifp, command, data);
#endif
- s = splimp();
switch (command) {
/* These two are mostly handled at a higher layer */
@@ -343,7 +342,6 @@ ng_iface_ioctl(struct ifnet *ifp, u_long
error = EINVAL;
break;
}
- (void) splx(s);
return (error);
}
More information about the svn-src-head
mailing list