summaryrefslogtreecommitdiff
path: root/sys/opencrypto/cryptodev.c
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2003-01-03 06:16:59 +0000
committerSam Leffler <sam@FreeBSD.org>2003-01-03 06:16:59 +0000
commit7d1853ee0eb8664f3e3b03649a181776e267f316 (patch)
treec2db931c54aaacfcfef21711c64b607ae925a520 /sys/opencrypto/cryptodev.c
parente2a3ea1c450d7e856afced7f789ae556e9f92a75 (diff)
Notes
Diffstat (limited to 'sys/opencrypto/cryptodev.c')
-rw-r--r--sys/opencrypto/cryptodev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/opencrypto/cryptodev.c b/sys/opencrypto/cryptodev.c
index f26321b1d98c..2cc3df419a17 100644
--- a/sys/opencrypto/cryptodev.c
+++ b/sys/opencrypto/cryptodev.c
@@ -694,8 +694,6 @@ csefree(struct csession *cse)
static int
cryptoopen(dev_t dev, int oflags, int devtype, struct thread *td)
{
- if (crypto_usercrypto == 0)
- return (ENXIO);
return (0);
}