commit | 9ba422b346c9654ec78ee0a5b7c5db6e5d4c48dd | [log] [tgz] |
---|---|---|
author | Márton Németh <nm127@freemail.hu> | Tue May 24 23:19:18 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jun 07 13:53:24 2011 -0700 |
tree | e0024ea28aa91174eac39fe1e0334affbb01396c | |
parent | 0392bbb6f6af31888570a24641158d9b51b07eb6 [diff] |
usbip: simplify lock handling in valid_request() The function calls spin_lock() and spin_unlock() should be in pair. This patch makes this pairing more clear for the reader of the code. Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>