diff options
Diffstat (limited to 'sys/crypto/cryptodev.c')
-rw-r--r-- | sys/crypto/cryptodev.c | 20 |
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) { |