OSDN Git Service

uas: Free data urbs on completion
authorHans de Goede <hdegoede@redhat.com>
Sat, 13 Sep 2014 10:26:35 +0000 (12:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 04:42:10 +0000 (21:42 -0700)
commit85fea82554ee74f0a2e17729a3911865df5fbba0
treea761b2fd160924e1483e7cbe6cf1e49555a0fde7
parent60d9f67d478e7c8ed09e3a6888b29aca2d978979
uas: Free data urbs on completion

Now that we no longer drop our lock to unlink the data urbs, we can simply
free them on completion, making their handling consistent with the other urbs.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c