commit | 7e50e0bec45897caeb978e5aecc9184a2dc00df2 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Thu Oct 17 19:19:04 2013 +0200 |
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | Tue Mar 04 15:38:08 2014 -0800 |
tree | ad2c7878908452c589d2ee74fb866a2f5c26227f | |
parent | 6ce8213b3328ae4a1db34339c282144740ac1ec6 [diff] |
uas: Avoid unnecessary unlock / lock calls around unlink_data_urbs All callers of unlink_data_urbs drop devinfo->lock before calling it, and then immediately take it again after the call. And the first thing unlink_data_urbs does is take the lock again, and the last thing it does is drop it. This commit removes all the unnecessary lock dropping and taking. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>