diff options
author | Christoph Hellwig <hch@lst.de> | 2015-11-10 14:45:47 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-10 16:32:11 -0800 |
commit | 704c16db0e055e9a2acd4a5353e92b1ae4408a90 (patch) | |
tree | 6872e330f07ebcc9857f443a19ae55c0067f85b9 | |
parent | 21fd6c099dc0d6eb97fbd28a8c16c1b331e1d45a (diff) | |
download | op-kernel-dev-704c16db0e055e9a2acd4a5353e92b1ae4408a90.zip op-kernel-dev-704c16db0e055e9a2acd4a5353e92b1ae4408a90.tar.gz |
usbnet: remove ifdefed out call to dma_supported
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/net/usb/usbnet.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index 060918f..0744bf2 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c @@ -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; |