Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178142191
D23079.1796096129.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
868 B
Referenced Files
None
Subscribers
None
D23079.1796096129.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 1, 3:35 AM (22 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42117629
Default Alt Text
D23079.1796096129.diff (868 B)
Attached To
Mode
D23079: Remove unneeded cdevsw methods and D_NEEDGIANT.
Attached
Detach File
Event Timeline