git: 2ed47b49b822 - stable/12 - Remove unused 32-bit compatibility structures from cryptodev.
Mateusz Guzik
mjg at FreeBSD.org
Thu Sep 16 11:21:11 UTC 2021
The branch stable/12 has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=2ed47b49b822f97901c3dd433384ec781c4df2cb
commit 2ed47b49b822f97901c3dd433384ec781c4df2cb
Author: Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2020-06-30 15:57:11 +0000
Commit: Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2021-09-16 11:20:48 +0000
Remove unused 32-bit compatibility structures from cryptodev.
The counters are exported by a sysctl and have the same width on all
platforms anyway.
Reviewed by: cem, delphij, jhb
Sponsored by: Rubicon Communications, LLC (Netgate)
Differential Revision: https://reviews.freebsd.org/D25465
(cherry picked from commit a5ae70f5a0554235c499016bec3a721adbb1043a)
---
sys/opencrypto/cryptodev.c | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/sys/opencrypto/cryptodev.c b/sys/opencrypto/cryptodev.c
index b2963b4369b8..e6da18016736 100644
--- a/sys/opencrypto/cryptodev.c
+++ b/sys/opencrypto/cryptodev.c
@@ -118,28 +118,6 @@ struct crypt_kop32 {
struct crparam32 crk_param[CRK_MAXPARAM];
};
-struct cryptotstat32 {
- struct timespec32 acc;
- struct timespec32 min;
- struct timespec32 max;
- u_int32_t count;
-};
-
-struct cryptostats32 {
- u_int32_t cs_ops;
- u_int32_t cs_errs;
- u_int32_t cs_kops;
- u_int32_t cs_kerrs;
- u_int32_t cs_intrs;
- u_int32_t cs_rets;
- u_int32_t cs_blocks;
- u_int32_t cs_kblocks;
- struct cryptotstat32 cs_invoke;
- struct cryptotstat32 cs_done;
- struct cryptotstat32 cs_cb;
- struct cryptotstat32 cs_finis;
-};
-
#define CIOCGSESSION32 _IOWR('c', 101, struct session_op32)
#define CIOCCRYPT32 _IOWR('c', 103, struct crypt_op32)
#define CIOCKEY32 _IOWR('c', 104, struct crypt_kop32)
More information about the dev-commits-src-all
mailing list