diff options
author | John Baldwin <jhb@FreeBSD.org> | 2019-10-14 18:02:56 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2019-10-14 18:02:56 +0000 |
commit | aeb63511bdfef6500c88cf90b1ac95acd09277ad (patch) | |
tree | 4714f8a9ab0f2fb832fc29bbf7c6f51ac87d5b0e | |
parent | 32731f2eb1a0a315f882dc575752ec1dab6a01ff (diff) | |
download | src-aeb63511bdfef6500c88cf90b1ac95acd09277ad.tar.gz src-aeb63511bdfef6500c88cf90b1ac95acd09277ad.zip |
Remove an unused parameter from get_new_keyid().
Notes
Notes:
svn path=/head/; revision=353498
-rw-r--r-- | sys/dev/cxgbe/tom/t4_tls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cxgbe/tom/t4_tls.c b/sys/dev/cxgbe/tom/t4_tls.c index 89e8fe43fa9c..bbd43e1eb038 100644 --- a/sys/dev/cxgbe/tom/t4_tls.c +++ b/sys/dev/cxgbe/tom/t4_tls.c @@ -440,7 +440,7 @@ prepare_txkey_wr(struct tls_keyctx *kwr, struct tls_key_context *kctx) /* TLS Key memory management */ static int -get_new_keyid(struct toepcb *toep, struct tls_key_context *k_ctx) +get_new_keyid(struct toepcb *toep) { struct adapter *sc = td_adapter(toep->td); vmem_addr_t addr; @@ -511,7 +511,7 @@ tls_program_key_id(struct toepcb *toep, struct tls_key_context *k_ctx) /* Dont initialize key for re-neg */ if (!G_KEY_CLR_LOC(k_ctx->l_p_key)) { - if ((keyid = get_new_keyid(toep, k_ctx)) < 0) { + if ((keyid = get_new_keyid(toep)) < 0) { return (ENOSPC); } } else { |