git: 991b84eca964 - main - Retire now-unused M_XDATA.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 24 Jan 2022 23:29:12 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=991b84eca964e79ef786f47722163355b752747e

commit 991b84eca964e79ef786f47722163355b752747e
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-01-24 23:27:39 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-01-24 23:27:39 +0000

    Retire now-unused M_XDATA.
    
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D33993
---
 sys/opencrypto/xform.c | 2 --
 sys/opencrypto/xform.h | 4 ----
 2 files changed, 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_ */