mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 20:51:47 +00:00
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>
This commit is contained in:
parent
4d42195021
commit
0e3633f604
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user