summaryrefslogtreecommitdiff
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2013-10-17 19:19:04 +0200
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2014-03-04 15:38:08 -0800
commit7e50e0bec45897caeb978e5aecc9184a2dc00df2 (patch)
treead2c7878908452c589d2ee74fb866a2f5c26227f /drivers/Makefile
parent6ce8213b3328ae4a1db34339c282144740ac1ec6 (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/Makefile')
0 files changed, 0 insertions, 0 deletions