diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-07-06 12:38:25 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-07-28 10:43:46 +0300 |
commit | d4cfb83d566c56d062a73d94a9fc7ec258a437c2 (patch) | |
tree | c4e72de2b5081e71fb3dac1742ad3686c0bb1cec /.clang-format | |
parent | 5391e0cbae02cdf2df501f104c2c7dc0bceeec3d (diff) | |
download | linux-d4cfb83d566c56d062a73d94a9fc7ec258a437c2.tar.xz |
can: gs_usb: gs_usb_disconnect(): remove not needed usb_kill_anchored_urbs()
In gs_usb_disconnect(), all channels are destroyed first, then all
anchored RX URBs (parent->rx_submitted) are disposed with
usb_kill_anchored_urbs().
The call to usb_kill_anchored_urbs() is not needed, as
gs_destroy_candev() of the last active channel already disposes the RX
URBS.
Remove not needed call to usb_kill_anchored_urbs() from
gs_usb_disconnect().
Link: https://lore.kernel.org/all/20230718-gs_usb-cleanups-v1-11-c3b9154ec605@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions