Skip to content

Commit

Permalink
can: peak_usb: remove unused variables from struct peak_usb_device
Browse files Browse the repository at this point in the history
This patch removes the unused variables struct
peak_usb_device::echo_skb and struct peak_usb_device::bus_load from
the driver.

Link: https://lore.kernel.org/r/20210406111622.1874957-4-mkl@pengutronix.de
Acked-by: Stephane Grosjean <s.grosjean@peak-system.com>
Tested-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
Marc Kleine-Budde committed Apr 13, 2021
1 parent fa34e0a commit c779e12
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/can/usb/peak_usb/pcan_usb_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ struct peak_usb_device {
unsigned int ctrl_idx;
u32 state;

struct sk_buff *echo_skb[PCAN_USB_MAX_TX_URBS];

struct usb_device *udev;
struct net_device *netdev;

Expand All @@ -132,8 +130,6 @@ struct peak_usb_device {
u8 ep_msg_in;
u8 ep_msg_out;

u16 bus_load;

struct peak_usb_device *prev_siblings;
struct peak_usb_device *next_siblings;
};
Expand Down

0 comments on commit c779e12

Please sign in to comment.