projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21fd6c0
)
usbnet: remove ifdefed out call to dma_supported
author
Christoph Hellwig
<
[email protected]
>
Tue, 10 Nov 2015 22:45:47 +0000
(14:45 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 11 Nov 2015 00:32:11 +0000
(16:32 -0800)
Signed-off-by: Christoph Hellwig <
[email protected]
>
Cc: Oliver Neukum <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/net/usb/usbnet.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/usbnet.c
b/drivers/net/usb/usbnet.c
index 060918f49fea82779a37d326a4d1729189ddad28..0744bf2ef2d6e42044c6c31f7c74b0ec120e07d3 100644
(file)
--- 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;