diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-09-17 08:36:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-09-17 08:36:07 +0000 |
commit | 2af93ac69f23f2cd6b4733d5610b1b15986bb12d (patch) | |
tree | 92c7dc8ca9c73508651fb793e4f7b68cd215c4fe /sys/dev/ic | |
parent | c2710989f484669321b4a97d521c7d1e2c083468 (diff) |
Don't bother keeping a {u,}lptioctl function which is a duplicate of
enodev().
ok jsing@ krw@ deraadt@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/lpt.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/sys/dev/ic/lpt.c b/sys/dev/ic/lpt.c index 4d2b1b50eb2..046dc87611b 100644 --- a/sys/dev/ic/lpt.c +++ b/sys/dev/ic/lpt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lpt.c,v 1.7 2010/08/06 00:00:41 miod Exp $ */ +/* $OpenBSD: lpt.c,v 1.8 2011/09/17 08:36:06 miod Exp $ */ /* $NetBSD: lpt.c,v 1.42 1996/10/21 22:41:14 thorpej Exp $ */ /* @@ -59,7 +59,6 @@ #include <sys/proc.h> #include <sys/buf.h> #include <sys/kernel.h> -#include <sys/ioctl.h> #include <sys/uio.h> #include <sys/device.h> #include <sys/conf.h> @@ -430,21 +429,3 @@ lptintr(arg) return 1; } - -int -lptioctl(dev, cmd, data, flag, p) - dev_t dev; - u_long cmd; - caddr_t data; - int flag; - struct proc *p; -{ - int error = 0; - - switch (cmd) { - default: - error = ENODEV; - } - - return error; -} |