summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornavin patidar <navinp@cdac.in>2013-09-10 10:36:46 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-25 16:30:46 -0700
commit0e3633f60422fb6075ca74fb9032471afdb4c99b (patch)
tree8dfb2aed483936d95b52ab375983b5e3e86e5241
parent4d42195021d8cb37600b2ecfaba982dd96e7fc01 (diff)
staging: usbip: vhci_hcd: remove check for dma
vhci_hcd is a virtual usb host controller, so no need to check for dma. Signed-off-by: navin patidar <navinp@cdac.in> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/usbip/vhci_hcd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index b3c9217c38e9..e810ad53e2ac 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -999,12 +999,6 @@ static int vhci_hcd_probe(struct platform_device *pdev)
usbip_dbg_vhci_hc("name %s id %d\n", pdev->name, pdev->id);
- /* will be removed */
- if (pdev->dev.dma_mask) {
- dev_info(&pdev->dev, "vhci_hcd DMA not supported\n");
- return -EINVAL;
- }
-
/*
* Allocate and initialize hcd.
* Our private data is also allocated automatically.