]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
can: peak_usb: remove write only variable struct peak_usb_adapter::ts_period
authorMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 3 Apr 2021 12:10:25 +0000 (14:10 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 13 Apr 2021 08:15:43 +0000 (10:15 +0200)
commit1a5a5eedf80772ac0fb3f1ec443711c2eab030a5
treeeea93f2193b563c0caa350121091a336b089fc51
parentc779e1271a9e2beb81bfd3cd36b45f4d26b13c95
can: peak_usb: remove write only variable struct peak_usb_adapter::ts_period

The variable struct peak_usb_adapter::ts_period is only ever written
to. This patch removes it from the driver.

Link: https://lore.kernel.org/r/20210406111622.1874957-5-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>
drivers/net/can/usb/peak_usb/pcan_usb.c
drivers/net/can/usb/peak_usb/pcan_usb_core.h
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
drivers/net/can/usb/peak_usb/pcan_usb_pro.c