uipc_ktls: remove unused static function
m_segments() was added with r363464 but never used. Remove it to avoid warnings when compiling kernels. Reported by: rmacklem (also says jhb) Reviewed by: gallatin, jhb Differential Revision: https://reviews.freebsd.org/D26330
This commit is contained in:
parent
ea1b505d64
commit
c32154caf8
@ -1643,21 +1643,6 @@ ktls_detach_record(struct sockbuf *sb, int len)
|
||||
return (top);
|
||||
}
|
||||
|
||||
static int
|
||||
m_segments(struct mbuf *m, int skip)
|
||||
{
|
||||
int count;
|
||||
|
||||
while (skip >= m->m_len) {
|
||||
skip -= m->m_len;
|
||||
m = m->m_next;
|
||||
}
|
||||
|
||||
for (count = 0; m != NULL; count++)
|
||||
m = m->m_next;
|
||||
return (count);
|
||||
}
|
||||
|
||||
static void
|
||||
ktls_decrypt(struct socket *so)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user