]> git.baikalelectronics.ru Git - kernel.git/commit
usbip: clean up code in vhci_device_unlink_cleanup
authorAnirudh Rayabharam <mail@anirudhrb.com>
Fri, 20 Aug 2021 19:01:22 +0000 (00:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 11:29:10 +0000 (13:29 +0200)
commit107515da45afb72472c3a358e15abf22ca030fc6
tree8f9af24fbeb7392e021703cdd2a6bf048bc1529d
parentc3a5c0e1163c8cf3f796e4304b28c1347af894b5
usbip: clean up code in vhci_device_unlink_cleanup

The cleanup code for unlink_tx and unlink_rx lists is almost the same.
So, extract it into a new function and call it for both unlink_rx and
unlink_tx. Also, remove unnecessary log messages.

Signed-off-by: Anirudh Rayabharam <mail@anirudhrb.com>
Link: https://lore.kernel.org/r/20210820190122.16379-3-mail@anirudhrb.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/vhci_hcd.c