Author: jhb
Date: Mon Oct 14 18:02:56 2019
New Revision: 353498
URL: https://svnweb.freebsd.org/changeset/base/353498

Log:
  Remove an unused parameter from get_new_keyid().

Modified:
  head/sys/dev/cxgbe/tom/t4_tls.c

Modified: head/sys/dev/cxgbe/tom/t4_tls.c
==============================================================================
--- head/sys/dev/cxgbe/tom/t4_tls.c     Mon Oct 14 17:51:57 2019        
(r353497)
+++ head/sys/dev/cxgbe/tom/t4_tls.c     Mon Oct 14 18:02:56 2019        
(r353498)
@@ -440,7 +440,7 @@ prepare_txkey_wr(struct tls_keyctx *kwr, struct tls_ke
 
 /* 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
 
        /* 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 {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to