Skip to content
Commit 49367d8f authored by Ming Lei's avatar Ming Lei Committed by Greg Kroah-Hartman
Browse files

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: default avatarMing Lei <tom.leiming@gmail.com>
Acked-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3b23dd6f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment