Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e3633f6 authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman
Browse files

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: default avatarnavin patidar <navinp@cdac.in>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4d421950
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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.