mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove the special casing for NetBSD and OpenBSD now that they
appear to do what we do.
This commit is contained in:
parent
44ae5917e2
commit
cbeffd9e61
1 changed files with 0 additions and 4 deletions
|
|
@ -1260,11 +1260,7 @@ ugen_do_ioctl(struct ugen_softc *sc, int endpt, u_long cmd,
|
|||
uio.uio_segflg = UIO_USERSPACE;
|
||||
uio.uio_rw = UIO_READ;
|
||||
uio.uio_td = p;
|
||||
#if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
error = uiomove((caddr_t)cdesc, len, &uio);
|
||||
#elif defined(__FreeBSD__)
|
||||
error = uiomove((void *)cdesc, len, &uio);
|
||||
#endif
|
||||
free(cdesc, M_TEMP);
|
||||
return (error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue