commit | 49367d8f1d9f26482cf7089489e90f0afd0a942c | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Fri Dec 12 21:38:45 2008 +0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Jan 07 10:00:08 2009 -0800 |
tree | e0b8beb733f49772f258f90ce7af856a10fbdaac | |
parent | 3b23dd6f8a718e5339de4f7d86ce76a078b5f771 [diff] |
USB: mark "reject" field of struct urb as atomic_t It is enough to protect accesses to reject field of urb by marking it as atomic_t,also it is the only reason of existence of usb_reject_lock,so remove the lock to make code more clean. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Acked-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>