summaryrefslogtreecommitdiff
path: root/sys/crypto/cryptodev.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-21 18:44:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-21 18:44:02 +0000
commit08e117870d2ecb029f0a677fb9bcb7c5ef1ed46b (patch)
tree10d406481d11d105aae687b37ffa2bf371fe56b3 /sys/crypto/cryptodev.c
parent89cef52a8d19313cefe68d5cf4e1c89dde746d7b (diff)
No need for read/write functions, just use enodev like all the other
things things do ok nicm
Diffstat (limited to 'sys/crypto/cryptodev.c')
-rw-r--r--sys/crypto/cryptodev.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/crypto/cryptodev.c b/sys/crypto/cryptodev.c
index 6b81461cde7..7796e6ff3c7 100644
--- a/sys/crypto/cryptodev.c
+++ b/sys/crypto/cryptodev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptodev.c,v 1.72 2010/07/20 09:06:38 matthew Exp $ */
+/* $OpenBSD: cryptodev.c,v 1.73 2010/07/21 18:44:01 deraadt Exp $ */
/*
* Copyright (c) 2001 Theo de Raadt
@@ -651,18 +651,6 @@ cryptoclose(dev_t dev, int flag, int mode, struct proc *p)
}
int
-cryptoread(dev_t dev, struct uio *uio, int ioflag)
-{
- return (EIO);
-}
-
-int
-cryptowrite(dev_t dev, struct uio *uio, int ioflag)
-{
- return (EIO);
-}
-
-int
cryptoioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
{
struct file *f;
@@ -694,12 +682,6 @@ cryptoioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
return (error);
}
-int
-cryptopoll(dev_t dev, int events, struct proc *p)
-{
- return (seltrue(dev, events, p));
-}
-
struct csession *
csefind(struct fcrypt *fcr, u_int ses)
{