netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] net: Remove unused function parameters in skbuff.c
@ 2025-06-24  9:53 Michal Luczaj
  2025-06-24  9:53 ` [PATCH net-next 1/7] net: splice: Drop unused @pipe Michal Luczaj
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Michal Luczaj @ 2025-06-24  9:53 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Simon Horman, Neal Cardwell, Kuniyuki Iwashima, David Ahern,
	Boris Pismenny, John Fastabend, Ayush Sawal, Andrew Lunn
  Cc: netdev, linux-kernel, Michal Luczaj

Couple of cleanup patches to get rid of unused function parameters around
skbuff.c.

Offshot of my question in [1], but way more contained. Found by adding
"-Wunused-parameter -Wno-error" to KBUILD_CFLAGS and grepping for specific
skbuff.c warnings.

[1]: https://lore.kernel.org/netdev/972af569-0c90-4585-9e1f-f2266dab6ec6@rbox.co/

Signed-off-by: Michal Luczaj <mhal@rbox.co>
---
Michal Luczaj (7):
      net: splice: Drop unused @pipe
      net: splice: Drop unused @flags
      tcp: Drop tcp_splice_state::flags
      af_unix: Drop unix_stream_read_state::splice_flags
      net: splice: Drop unused @gfp
      net: splice: Drop nr_pages_max initialization
      net: skbuff: Drop unused @skb

 .../chelsio/inline_crypto/chtls/chtls_io.c         |  3 +-
 include/linux/skbuff.h                             |  5 ++--
 net/core/skbuff.c                                  | 32 ++++++++--------------
 net/ipv4/ip_output.c                               |  3 +-
 net/ipv4/tcp.c                                     |  7 ++---
 net/ipv6/ip6_output.c                              |  3 +-
 net/kcm/kcmsock.c                                  |  5 ++--
 net/tls/tls_sw.c                                   |  2 +-
 net/unix/af_unix.c                                 |  7 ++---
 9 files changed, 24 insertions(+), 43 deletions(-)
---
base-commit: ee1a0c653f9cad7e2634a39f6c530e12edddf0fc
change-id: 20250618-splice-drop-unused-0e4ea8a12681

Best regards,
-- 
Michal Luczaj <mhal@rbox.co>


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-06-25 21:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-24  9:53 [PATCH net-next 0/7] net: Remove unused function parameters in skbuff.c Michal Luczaj
2025-06-24  9:53 ` [PATCH net-next 1/7] net: splice: Drop unused @pipe Michal Luczaj
2025-06-25 10:07   ` Simon Horman
2025-06-24  9:53 ` [PATCH net-next 2/7] net: splice: Drop unused @flags Michal Luczaj
2025-06-25 10:06   ` Simon Horman
2025-06-24  9:53 ` [PATCH net-next 3/7] tcp: Drop tcp_splice_state::flags Michal Luczaj
2025-06-25 10:06   ` Simon Horman
2025-06-24  9:53 ` [PATCH net-next 4/7] af_unix: Drop unix_stream_read_state::splice_flags Michal Luczaj
2025-06-25 10:06   ` Simon Horman
2025-06-24  9:53 ` [PATCH net-next 5/7] net: splice: Drop unused @gfp Michal Luczaj
2025-06-25 10:07   ` Simon Horman
2025-06-24  9:53 ` [PATCH net-next 6/7] net: splice: Drop nr_pages_max initialization Michal Luczaj
2025-06-25 10:06   ` Simon Horman
2025-06-25 21:43     ` Michal Luczaj
2025-06-24  9:53 ` [PATCH net-next 7/7] net: skbuff: Drop unused @skb Michal Luczaj
2025-06-25 10:07   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).