net: usb: remove unused structs 'usb_context'
Subsystems (6)
PATCH 1/1 net: usb: remove unused structs 'usb_context'
From: "Dr. David Alan Gilbert" <[email protected]>
Both lan78xx and smsc75xx have a 'usb_context' struct which is unused, since their original commits.
Remove them.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
--- drivers/net/usb/lan78xx.c | 5 ----- drivers/net/usb/smsc75xx.c | 5 ----- 2 files changed, 10 deletions(-)
drivers/net/usb/lan78xx.c +0 -5
@@ -380,11 +380,6 @@ struct skb_data { /* skb->cb is one of these */int num_of_packet; }; -struct usb_context { -struct usb_ctrlrequest req; -struct lan78xx_net *dev; -}; -#define EVENT_TX_HALT 0#define EVENT_RX_HALT 1#define EVENT_RX_MEMORY 2
drivers/net/usb/smsc75xx.c +0 -5
@@ -61,11 +61,6 @@ struct smsc75xx_priv {u8 suspend_flags; }; -struct usb_context { -struct usb_ctrlrequest req; -struct usbnet *dev; -}; -static bool turbo_mode = true;module_param (turbo_mode, bool,0644 );MODULE_PARM_DESC (turbo_mode,"Enable multiple frames per Rx transaction" );
Signature · 1 line
2.45.1
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 8 lines · On Sun, 26 May 2024 21:59:22 +0100 you wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
Both lan78xx and smsc75xx have a '
usb_context' struct which is unused, since their original commits.Remove them.
[...]
Here is the summary with links:
- net: usb: remove unused structs 'usb_context'
https://git.kernel.org/netdev/net-next/c/c30ff5f3aec3
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html