diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-10-17 19:19:04 +0200 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2014-03-04 15:38:08 -0800 |
commit | 7e50e0bec45897caeb978e5aecc9184a2dc00df2 (patch) | |
tree | ad2c7878908452c589d2ee74fb866a2f5c26227f /drivers/misc/Makefile | |
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>
Diffstat (limited to 'drivers/misc/Makefile')
0 files changed, 0 insertions, 0 deletions