summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-09-17 08:36:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-09-17 08:36:07 +0000
commit2af93ac69f23f2cd6b4733d5610b1b15986bb12d (patch)
tree92c7dc8ca9c73508651fb793e4f7b68cd215c4fe /sys/dev/usb
parentc2710989f484669321b4a97d521c7d1e2c083468 (diff)
Don't bother keeping a {u,}lptioctl function which is a duplicate of
enodev(). ok jsing@ krw@ deraadt@
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. */
/*