From: Hans de Goede Date: Thu, 17 Oct 2013 17:19:04 +0000 (+0200) Subject: uas: Avoid unnecessary unlock / lock calls around unlink_data_urbs X-Git-Tag: v3.15-rc1~137^2~26^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e50e0bec45897caeb978e5aecc9184a2dc00df2;p=pandora-kernel.git 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 Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed