diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-04-30 16:35:37 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:40 -0400 |
commit | 85bcb5ee889e0ebb9154718939e049de265fcdfb (patch) | |
tree | daeec28274c8b68fea502c41af84d45d2681ebc5 /drivers/usb/core | |
parent | 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 (diff) |
USB: remove URB_NO_SETUP_DMA_MAP
Now that URB_NO_SETUP_DMA_MAP is no longer in use, this patch (as1376)
removes all references to it.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r-- | drivers/usb/core/hcd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 3aaee2811f01..0abc5c537f39 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c | |||
@@ -1316,8 +1316,7 @@ static int map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, | |||
1316 | * or uses the provided scatter gather list for bulk. | 1316 | * or uses the provided scatter gather list for bulk. |
1317 | */ | 1317 | */ |
1318 | 1318 | ||
1319 | if (usb_endpoint_xfer_control(&urb->ep->desc) | 1319 | if (usb_endpoint_xfer_control(&urb->ep->desc)) { |
1320 | && !(urb->transfer_flags & URB_NO_SETUP_DMA_MAP)) { | ||
1321 | if (hcd->self.uses_dma) { | 1320 | if (hcd->self.uses_dma) { |
1322 | urb->setup_dma = dma_map_single( | 1321 | urb->setup_dma = dma_map_single( |
1323 | hcd->self.controller, | 1322 | hcd->self.controller, |