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

Commit 704c16db authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds
Browse files

usbnet: remove ifdefed out call to dma_supported



Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Cc: Oliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 21fd6c09
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1662,12 +1662,6 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod)
	 * bind() should set rx_urb_size in that case.
	 */
	dev->hard_mtu = net->mtu + net->hard_header_len;
#if 0
// dma_supported() is deeply broken on almost all architectures
	// possible with some EHCI controllers
	if (dma_supported (&udev->dev, DMA_BIT_MASK(64)))
		net->features |= NETIF_F_HIGHDMA;
#endif

	net->netdev_ops = &usbnet_netdev_ops;
	net->watchdog_timeo = TX_TIMEOUT_JIFFIES;