]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sctp: Remove unused declaration sctp_auth_init_hmacs()
authorYue Haibing <yuehaibing@huawei.com>
Thu, 13 Nov 2025 11:45:01 +0000 (19:45 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 15 Nov 2025 02:00:34 +0000 (18:00 -0800)
Commit bf40785fa437 ("sctp: Use HMAC-SHA1 and HMAC-SHA256 library for chunk
authentication") removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Eric Biggers <ebiggers@kernel.org>
Link: https://patch.msgid.link/20251113114501.32905-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/sctp/auth.h

index 3d5879e08e78a12f8e9ab0a266aea051b0e083ef..6f2cd562b1de6e51982bc21a35fb26ea1a643ba8 100644 (file)
@@ -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);