From: Sergei Shtylyov Date: Sun, 17 Jul 2016 13:08:43 +0000 (+0300) Subject: ravb: fix DMA channel misreporting X-Git-Tag: MMI-PSA29.97-13-9~7505^2~73^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9345b24f9f257708201dfab2d36ad2a411a281b4;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ravb: fix DMA channel misreporting Currently 'ifconfig' for the Ethernet devices handled by this driver shows "DMA chan: ff" while the driver doesn't use any DMA channels. Not assigning a value to 'net_device::dma' causes 'ifconfig' to correctly not report a DMA channel. Signed-off-by: Sergei Shtylyov Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c index 5349284203ff..8377d0220fa8 100644 --- a/drivers/net/ethernet/renesas/ravb_main.c +++ b/drivers/net/ethernet/renesas/ravb_main.c @@ -1908,7 +1908,6 @@ static int ravb_probe(struct platform_device *pdev) /* The Ether-specific entries in the device structure. */ ndev->base_addr = res->start; - ndev->dma = -1; chip_id = (enum ravb_chip_id)of_device_get_match_data(&pdev->dev);