usb/isp1760: Move function isp1760_endpoint_disable() within file.
authorArvid Brodin <arvid.brodin@enea.com>
Thu, 19 May 2011 22:17:34 +0000 (00:17 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:34:04 +0000 (16:34 -0700)
commit079cdb0947ce6ae7df0c73a1c82c14920a9b6b6d
treede0a18dca25e9b42a1ec3afa26a5ae963e5b6632
parent69fff59de4d844f8b4c2454c3c23d32b69dcbfd7
usb/isp1760: Move function isp1760_endpoint_disable() within file.

Preparation for patch #2. The function isp1760_endpoint_disable() does almost
the same thing as urb_dequeue(). In patch #2 I change these to use a common
helper function instead of calling each other - for clarity but also to
avoid releasing the spinlock while in a "questionable" state. It seemed
proper to have these functions close to each other in the code.

Signed-off-by: Arvid Brodin <arvid.brodin@enea.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1760-hcd.c