1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Remove the special casing for NetBSD and OpenBSD now that they

appear to do what we do.
This commit is contained in:
Josef Karthauser 2002-01-02 16:45:15 +00:00
parent 44ae5917e2
commit cbeffd9e61
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88819

View File

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