Page MenuHomeFreeBSD

D23079.id66511.diff
No OneTemporary

D23079.id66511.diff

Index: head/sys/opencrypto/cryptodev.c
===================================================================
--- head/sys/opencrypto/cryptodev.c
+++ head/sys/opencrypto/cryptodev.c
@@ -1473,24 +1473,6 @@
}
static int
-cryptoopen(struct cdev *dev, int oflags, int devtype, struct thread *td)
-{
- return (0);
-}
-
-static int
-cryptoread(struct cdev *dev, struct uio *uio, int ioflag)
-{
- return (EIO);
-}
-
-static int
-cryptowrite(struct cdev *dev, struct uio *uio, int ioflag)
-{
- return (EIO);
-}
-
-static int
cryptoioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td)
{
struct file *f;
@@ -1531,10 +1513,6 @@
static struct cdevsw crypto_cdevsw = {
.d_version = D_VERSION,
- .d_flags = D_NEEDGIANT,
- .d_open = cryptoopen,
- .d_read = cryptoread,
- .d_write = cryptowrite,
.d_ioctl = cryptoioctl,
.d_name = "crypto",
};

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 2, 5:32 AM (11 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37859134
Default Alt Text
D23079.id66511.diff (868 B)

Event Timeline