The branch main has been updated by mjg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=a90b85dd5adfbcc98f9fc64d61890247ecc7a650

commit a90b85dd5adfbcc98f9fc64d61890247ecc7a650
Author:     Mateusz Guzik <[email protected]>
AuthorDate: 2021-12-14 14:44:37 +0000
Commit:     Mateusz Guzik <[email protected]>
CommitDate: 2021-12-14 14:44:37 +0000

    ktls: plug set-but-not-used vars
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/kern/uipc_ktls.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/kern/uipc_ktls.c b/sys/kern/uipc_ktls.c
index aee9c2374e0b..9762e35a9a20 100644
--- a/sys/kern/uipc_ktls.c
+++ b/sys/kern/uipc_ktls.c
@@ -1308,7 +1308,7 @@ int
 ktls_get_rx_mode(struct socket *so, int *modep)
 {
        struct ktls_session *tls;
-       struct inpcb *inp;
+       struct inpcb *inp __diagused;
 
        if (SOLISTENING(so))
                return (EINVAL);
@@ -1328,7 +1328,7 @@ int
 ktls_get_tx_mode(struct socket *so, int *modep)
 {
        struct ktls_session *tls;
-       struct inpcb *inp;
+       struct inpcb *inp __diagused;
 
        if (SOLISTENING(so))
                return (EINVAL);
@@ -1646,7 +1646,7 @@ ktls_frame(struct mbuf *top, struct ktls_session *tls, 
int *enq_cnt,
        struct mbuf *m;
        uint64_t *noncep;
        uint16_t tls_len;
-       int maxlen;
+       int maxlen __diagused;
 
        maxlen = tls->params.max_frame_len;
        *enq_cnt = 0;

Reply via email to