]> git.baikalelectronics.ru Git - kernel.git/commitdiff
can: usb_8dev: remove unused member echo_skb from struct usb_8dev_priv
authorMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 12 Dec 2021 14:56:01 +0000 (15:56 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 5 Jan 2022 09:13:50 +0000 (10:13 +0100)
This patch removes the unused memberecho_skb from the struct
usb_8dev_priv.

Fixes: 633e75d8c39a ("can: usb_8dev: Add support for USB2CAN interface from 8 devices")
Link: https://lore.kernel.org/all/20220104230753.956520-1-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/usb_8dev.c

index d1b83bd1b3cb9eba5738a70ed0aef0187b5ed2f0..1fa02905e7ecfff481b0df3e46164a7de3fa6268 100644 (file)
@@ -121,8 +121,6 @@ struct usb_8dev_tx_urb_context {
 struct usb_8dev_priv {
        struct can_priv can; /* must be the first member */
 
-       struct sk_buff *echo_skb[MAX_TX_URBS];
-
        struct usb_device *udev;
        struct net_device *netdev;