Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169333057
D23079.id66511.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
868 B
Referenced Files
None
Subscribers
None
D23079.id66511.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
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)
Attached To
Mode
D23079: Remove unneeded cdevsw methods and D_NEEDGIANT.
Attached
Detach File
Event Timeline
Log In to Comment