diff options
| author | Dr. David Alan Gilbert <[email protected]> | 2025-05-01 00:24:02 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-05 23:48:12 +0000 |
| commit | 320a66f84022028f1277bf568a5e8987eac6e797 (patch) | |
| tree | 74990458a7ba69d40ed205e4a771e32870a0bb23 /net/strparser/strparser.c | |
| parent | Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf... (diff) | |
| download | kernel-320a66f84022028f1277bf568a5e8987eac6e797.tar.gz kernel-320a66f84022028f1277bf568a5e8987eac6e797.zip | |
strparser: Remove unused __strp_unpause
The last use of __strp_unpause() was removed in 2022 by
commit 84c61fe1a75b ("tls: rx: do not use the standard strparser")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/strparser/strparser.c')
| -rw-r--r-- | net/strparser/strparser.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net/strparser/strparser.c b/net/strparser/strparser.c index 95696f42647e..d946bfb424c7 100644 --- a/net/strparser/strparser.c +++ b/net/strparser/strparser.c @@ -485,19 +485,6 @@ int strp_init(struct strparser *strp, struct sock *sk, } EXPORT_SYMBOL_GPL(strp_init); -/* Sock process lock held (lock_sock) */ -void __strp_unpause(struct strparser *strp) -{ - strp->paused = 0; - - if (strp->need_bytes) { - if (strp_peek_len(strp) < strp->need_bytes) - return; - } - strp_read_sock(strp); -} -EXPORT_SYMBOL_GPL(__strp_unpause); - void strp_unpause(struct strparser *strp) { strp->paused = 0; |
