summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ulpt.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c
index 1dfa1951e85..727e5a87bae 100644
--- a/sys/dev/usb/ulpt.c
+++ b/sys/dev/usb/ulpt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ulpt.c,v 1.39 2011/07/03 15:47:17 matthew Exp $ */
+/* $OpenBSD: ulpt.c,v 1.40 2011/09/17 08:36:06 miod Exp $ */
/* $NetBSD: ulpt.c,v 1.57 2003/01/05 10:19:42 scw Exp $ */
/* $FreeBSD: src/sys/dev/usb/ulpt.c,v 1.24 1999/11/17 22:33:44 n_hibma Exp $ */
@@ -42,7 +42,6 @@
#include <sys/proc.h>
#include <sys/kernel.h>
#include <sys/device.h>
-#include <sys/ioctl.h>
#include <sys/uio.h>
#include <sys/conf.h>
#include <sys/vnode.h>
@@ -609,19 +608,6 @@ ulptwrite(dev_t dev, struct uio *uio, int flags)
return (error);
}
-int
-ulptioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
-{
- int error = 0;
-
- switch (cmd) {
- default:
- error = ENODEV;
- }
-
- return (error);
-}
-
#if 0
/* XXX This does not belong here. */
/*