Date: Sat, 19 Mar 2011 19:37:53 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219781 - head/sys/netgraph Message-ID: <201103191937.p2JJbrBs032916@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103191937.p2JJbrBs032916>