aboutsummaryrefslogtreecommitdiff
path: root/sys/opencrypto
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-01-24 23:27:39 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-01-24 23:27:39 +0000
commit991b84eca964e79ef786f47722163355b752747e (patch)
tree190b9986b97efea4553354a25cddbd9e94d4707a /sys/opencrypto
parent35d9e00dba8cf0c25fbfdbd41ad4d6d1906eed4b (diff)
Retire now-unused M_XDATA.
Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33993
Diffstat (limited to 'sys/opencrypto')
-rw-r--r--sys/opencrypto/xform.c2
-rw-r--r--sys/opencrypto/xform.h4
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/opencrypto/xform.c b/sys/opencrypto/xform.c
index aed5b7638e43..1f2c2771cf04 100644
--- a/sys/opencrypto/xform.c
+++ b/sys/opencrypto/xform.c
@@ -69,8 +69,6 @@ __FBSDID("$FreeBSD$");
#include <opencrypto/cryptodev.h>
#include <opencrypto/xform.h>
-MALLOC_DEFINE(M_XDATA, "xform", "xform data buffers");
-
/* Include the encryption algorithms */
#include "xform_null.c"
#include "xform_aes_cbc.c"
diff --git a/sys/opencrypto/xform.h b/sys/opencrypto/xform.h
index cad7e5272d47..22130726042b 100644
--- a/sys/opencrypto/xform.h
+++ b/sys/opencrypto/xform.h
@@ -42,8 +42,4 @@
#include <opencrypto/xform_comp.h>
#include <opencrypto/xform_enc.h>
-#ifdef _KERNEL
-#include <sys/malloc.h>
-MALLOC_DECLARE(M_XDATA);
-#endif
#endif /* _CRYPTO_XFORM_H_ */