From: navin patidar Date: Tue, 10 Sep 2013 05:06:46 +0000 (+0530) Subject: staging: usbip: vhci_hcd: remove check for dma X-Git-Tag: firefly_0821_release~176^2~5057^2~630 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0e3633f60422fb6075ca74fb9032471afdb4c99b;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Greg Kroah-Hartman --- 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.