Skip to contentSkip to conversation

ppp/ppp_{async,synctty}: drop unused {a,}syncppp::bytes_{sent,rcvd}

PATCH Applied Jiri Slaby (SUSE) 2 participants 2 messages Jul 2 – Jul 8

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppp/ppp_{async,synctty}: drop unused {a,}syncppp::bytes_{sent,rcvd}

The bytes_sent and bytes_rcvd members of structs asyncppp and syncppp are not used. Drop them.

Cc Andrew Lunn <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Eric Dumazet <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Paolo Abeni <[email protected]>

---
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 drivers/net/ppp/ppp_async.c   | 2 --
 drivers/net/ppp/ppp_synctty.c | 2 --
 2 files changed, 4 deletions(-)
drivers/net/ppp/ppp_async.c +0 -2
index 93a7b0f6c4e7..583426d06381 100644
@@ -49,8 +49,6 @@ struct asyncppp {
 	unsigned long	xmit_flags;
 	u32		xaccm[8];
 	u32		raccm;
-	unsigned int	bytes_sent;
-	unsigned int	bytes_rcvd;
 
 	struct sk_buff	*tpkt;
 	int		tpkt_pos;
drivers/net/ppp/ppp_synctty.c +0 -2
index b7f243b416f8..0b1bd1635c39 100644
@@ -59,8 +59,6 @@ struct syncppp {
 	unsigned long	xmit_flags;
 	u32		xaccm[8];
 	u32		raccm;
-	unsigned int	bytes_sent;
-	unsigned int	bytes_rcvd;
 
 	struct sk_buff	*tpkt;
 	unsigned long	last_xmit;
Signature · 1 line
2.54.0
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Quoted 11 lines · On Thu, 2 Jul 2026 08:04:20 +0200 you wrote:

The bytes_sent and bytes_rcvd members of structs asyncppp and syncppp are not used. Drop them.

Cc Andrew Lunn <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Eric Dumazet <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Paolo Abeni <[email protected]>

[...]

Here is the summary with links:
- ppp/ppp_{async,synctty}: drop unused {a,}syncppp::bytes_{sent,rcvd}

    https://git.kernel.org/netdev/net-next/c/155c68aef239

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html