From cbeffd9e6116e4262a13cca1d774ae7b4da34c14 Mon Sep 17 00:00:00 2001 From: Josef Karthauser Date: Wed, 2 Jan 2002 16:45:15 +0000 Subject: [PATCH] Remove the special casing for NetBSD and OpenBSD now that they appear to do what we do. --- sys/dev/usb/ugen.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index d6de9dbe1a45..fcb8ec7fbda6 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -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); }