[PATCH 06/30] crypto: sa2ul - remove unused macro definitions
From: Manorit Chawdhry
Date: Tue Sep 15 2026 - 06:49:12 EST
Remove unused macro definitions for auth functions (SA_MK_U32_AUTH,
SA_AUTHSW_VALID, SA_AUTHSW_*, SA_AUTH_OP_*) and related constants.
These macros were defined but never used.
Assisted-by: Sisyphus:claude-sonnet-4-6
Signed-off-by: Manorit Chawdhry <m-chawdhry@xxxxxx>
---
drivers/crypto/sa2ul.c | 1 -
drivers/crypto/sa2ul.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/crypto/sa2ul.c b/drivers/crypto/sa2ul.c
index b36437d76891..09cefd766c95 100644
--- a/drivers/crypto/sa2ul.c
+++ b/drivers/crypto/sa2ul.c
@@ -42,7 +42,6 @@
#define SA_CMDL_UPD_AUTH 0x0002
#define SA_CMDL_UPD_ENC_IV 0x0004
-#define SA_AUTH_SUBKEY_LEN 16
#define SA_CMDL_PAYLOAD_LENGTH_MASK 0xFFFF
#define SA_CMDL_SOP_BYPASS_LEN_MASK 0xFF000000
diff --git a/drivers/crypto/sa2ul.h b/drivers/crypto/sa2ul.h
index f29e0b9ac82f..0aa6a36c0f20 100644
--- a/drivers/crypto/sa2ul.h
+++ b/drivers/crypto/sa2ul.h
@@ -46,7 +46,6 @@ struct sa_tfm_ctx;
/* Number of 32 bit words in PS data */
#define SA_DMA_NUM_PS_WORDS 16
-#define NKEY_SZ 3
#define MCI_SZ 27
/*
--
2.43.0