diff options
| author | Michal Luczaj <[email protected]> | 2025-07-02 13:38:08 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-08 15:37:15 +0000 |
| commit | 25489a4f556414445d342951615178368ee45cde (patch) | |
| tree | 83a4432157515a4b388786b2aee48cb6ad077ef7 /net/kcm/kcmsock.c | |
| parent | net: splice: Drop unused @pipe (diff) | |
| download | kernel-25489a4f556414445d342951615178368ee45cde.tar.gz kernel-25489a4f556414445d342951615178368ee45cde.zip | |
net: splice: Drop unused @gfp
Since its introduction in commit 2e910b95329c ("net: Add a function to
splice pages into an skbuff for MSG_SPLICE_PAGES"), skb_splice_from_iter()
never used the @gfp argument. Remove it and adapt callers.
No functional change intended.
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Michal Luczaj <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/kcm/kcmsock.c')
| -rw-r--r-- | net/kcm/kcmsock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/kcm/kcmsock.c b/net/kcm/kcmsock.c index 24aec295a51c..a0be3896a934 100644 --- a/net/kcm/kcmsock.c +++ b/net/kcm/kcmsock.c @@ -835,8 +835,7 @@ start: if (!sk_wmem_schedule(sk, copy)) goto wait_for_memory; - err = skb_splice_from_iter(skb, &msg->msg_iter, copy, - sk->sk_allocation); + err = skb_splice_from_iter(skb, &msg->msg_iter, copy); if (err < 0) { if (err == -EMSGSIZE) goto wait_for_memory; |
