OSDN Git Service

USB: legousbtower: remove tower_abort_transfers()
authorJohan Hovold <johan@kernel.org>
Tue, 5 Nov 2019 08:41:46 +0000 (09:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Nov 2019 10:17:52 +0000 (11:17 +0100)
commitaa6f3832458dab256f17f451e00270ae3f5736e4
tree653fb17035ca03da5911f4709ebec2683a596ed6
parentbafd1b1c2cee5513a400efffa58e9d02d8577423
USB: legousbtower: remove tower_abort_transfers()

Drop the tower_abort_transfers() function which is now only called from
release and instead explicitly kill the two URBs.

This incidentally also fixes the outdated comment about freeing memory.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191105084152.16322-9-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/legousbtower.c