diff options
author | Christoph Egger <siccegge@stud.informatik.uni-erlangen.de> | 2010-01-21 14:58:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 14:54:37 -0800 |
commit | 8af6096caf8b3fb7ee33e636c44a29f373d27df5 (patch) | |
tree | 8fdf3981f122de0981d2dd66787e8ab05e68b5f4 /drivers/usb/host/isp1362-hcd.c | |
parent | 0880aef49e40abd1ed34ab713e8b024e8bc2021e (diff) | |
download | talos-obmc-linux-8af6096caf8b3fb7ee33e636c44a29f373d27df5.tar.gz talos-obmc-linux-8af6096caf8b3fb7ee33e636c44a29f373d27df5.zip |
USB: remove obsolete config in kernel source (USB_HCD_DMA)
The configuration Option USB_HCD_DMA is not reachable in KConfig so
this piece of Code is effectively dead and useless. Remove it to avoid
confusion.
Signed-off-by: Christoph Egger <siccegge@stud.informatik.uni-erlangen.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/isp1362-hcd.c')
-rw-r--r-- | drivers/usb/host/isp1362-hcd.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c index 5596fc1a75aa..217fb5170200 100644 --- a/drivers/usb/host/isp1362-hcd.c +++ b/drivers/usb/host/isp1362-hcd.c @@ -2719,24 +2719,11 @@ static int __init isp1362_probe(struct platform_device *pdev) } irq = irq_res->start; -#ifdef CONFIG_USB_HCD_DMA - if (pdev->dev.dma_mask) { - struct resource *dma_res = platform_get_resource(pdev, IORESOURCE_MEM, 2); - - if (!dma_res) { - retval = -ENODEV; - goto err1; - } - isp1362_hcd->data_dma = dma_res->start; - isp1362_hcd->max_dma_size = resource_len(dma_res); - } -#else if (pdev->dev.dma_mask) { DBG(1, "won't do DMA"); retval = -ENODEV; goto err1; } -#endif if (!request_mem_region(addr->start, resource_len(addr), hcd_name)) { retval = -EBUSY; |