]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: get rid of urb->lock
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 24 Aug 2007 19:42:39 +0000 (15:42 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:23 +0000 (14:55 -0700)
commit1431d2a44ccf68a547094976f363f94177ab00c6
treeea02b1f45fe22214778d4986bc2d1b7051dcdced
parent4a00027dcb088bf90fa8fb14a7e8ba3506d78f22
USB: get rid of urb->lock

Now that urb->status isn't used, urb->lock doesn't protect anything.
This patch (as980) removes it and replaces it with a private mutex in
the one remaining place it was still used: usb_kill_urb.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/urb.c
include/linux/usb.h