Remove spl(9) remnants.

This commit is contained in:
Gleb Smirnoff 2011-03-19 19:37:53 +00:00
parent 3273bf2d65
commit ce4b2e2c63
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219781

View File

@ -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 command, caddr_t data)
error = EINVAL;
break;
}
(void) splx(s);
return (error);
}