From: Christoph Hellwig Date: Wed, 21 Oct 2015 22:13:24 +0000 (+1100) Subject: kaweth: remove ifdefed out call to dma_supported X-Git-Tag: KARO-TX6UL-2015-11-03~13^2~22 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=commitdiff_plain;h=9e6086bfe7d034d5f6657db980176da821e69ec6 kaweth: remove ifdefed out call to dma_supported Signed-off-by: Christoph Hellwig Cc: "David S. Miller" Cc: Oliver Neukum Cc: Alexey Khoroshilov Signed-off-by: Andrew Morton --- diff --git a/drivers/net/usb/kaweth.c b/drivers/net/usb/kaweth.c index 1e9cdca37014..f64b25c221e8 100644 --- a/drivers/net/usb/kaweth.c +++ b/drivers/net/usb/kaweth.c @@ -1177,12 +1177,6 @@ err_fw: INIT_DELAYED_WORK(&kaweth->lowmem_work, kaweth_resubmit_tl); usb_set_intfdata(intf, kaweth); -#if 0 -// dma_supported() is deeply broken on almost all architectures - if (dma_supported (dev, 0xffffffffffffffffULL)) - kaweth->net->features |= NETIF_F_HIGHDMA; -#endif - SET_NETDEV_DEV(netdev, dev); if (register_netdev(netdev) != 0) { dev_err(dev, "Error registering netdev.\n");