sctp: Remove unused declaration sctp_auth_init_hmacs()
Subsystems (3)
PATCH 1/1 sctp: Remove unused declaration sctp_auth_init_hmacs()
Commit bf40785fa437 ("sctp: Use HMAC-SHA1 and HMAC-SHA256 library for chunk authentication") removed the implementation but leave declaration.
--- include/net/sctp/auth.h | 1 - 1 file changed, 1 deletion(-)
include/net/sctp/auth.h +0 -1
@@ -72,7 +72,6 @@ struct sctp_shared_key *sctp_auth_get_shkey(int sctp_auth_asoc_copy_shkeys (const struct sctp_endpoint *ep,struct sctp_association *asoc,gfp_t gfp); -int sctp_auth_init_hmacs (struct sctp_endpoint *ep,gfp_t gfp);const struct sctp_hmac *sctp_auth_get_hmac (__u16 hmac_id);const struct sctp_hmac *sctp_auth_asoc_get_hmac (const struct sctp_association *asoc);
Signature · 1 line
2.34.1
Quoted 13 lines · Yue Haibing
Commit
bf40785fa437("sctp: Use HMAC-SHA1 and HMAC-SHA256 library for chunk authentication") removed the implementation but leave declaration.Signed-off-by Yue Haibing <[email protected]>--- include/net/sctp/auth.h | 1 - 1 file changed, 1 deletion(-)include/net/sctp/auth.h +0
-0
include/net/sctp/auth.h struct sctp_shared_key *sctp_auth_get_shkey( · line 77
Quoted 7 lines
include/net/sctp/auth.h +0
-1@@ -72,7 +72,6 @@ struct sctp_shared_key *sctp_auth_get_shkey(int sctp_auth_asoc_copy_shkeys (const struct sctp_endpoint *ep,struct sctp_association *asoc,gfp_t gfp); -int sctp_auth_init_hmacs (struct sctp_endpoint *ep,gfp_t gfp);const struct sctp_hmac *sctp_auth_get_hmac (__u16 hmac_id);const struct sctp_hmac *sctp_auth_asoc_get_hmac (const struct sctp_association *asoc);
- Eric
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 7 lines · On Thu, 13 Nov 2025 19:45:01 +0800 you wrote:
Commit
bf40785fa437("sctp: Use HMAC-SHA1 and HMAC-SHA256 library for chunk authentication") removed the implementation but leave declaration.Signed-off-by Yue Haibing <[email protected]>--- include/net/sctp/auth.h | 1 - 1 file changed, 1 deletion(-)
Here is the summary with links:
- [net-next] sctp: Remove unused declaration sctp_auth_init_hmacs()
https://git.kernel.org/netdev/net-next/c/06ac47065819
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html