summaryrefslogtreecommitdiff
path: root/drivers/net/hippi/rrunner.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2023-07-06 11:38:25 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2023-07-28 09:43:46 +0200
commit5391e0cbae02cdf2df501f104c2c7dc0bceeec3d (patch)
tree7c58d7ebd823bf2e99fa75d9ce8c48b4bc1c636f /drivers/net/hippi/rrunner.c
parent5c6c313acdfc3455b20ac1dc9655aa4afcf51ab1 (diff)
can: gs_usb: gs_destroy_candev(): remove not needed usb_kill_anchored_urbs()
In gs_destroy_candev(), the netdev is unregistered first, then all anchored TX URBs (dev->tx_submitted) are disposed with usb_kill_anchored_urbs(). The call to usb_kill_anchored_urbs() is not needed, as unregister_candev() calls gs_can_close(), which already disposes the TX URBS. Remove not needed call to usb_kill_anchored_urbs() from gs_destroy_candev(). Link: https://lore.kernel.org/all/20230718-gs_usb-cleanups-v1-10-c3b9154ec605@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/hippi/rrunner.c')
0 files changed, 0 insertions, 0 deletions