linux-sg2042/drivers/net/ethernet/mediatek
Gustavo A. R. Silva e8df760307 net: ethernet: mediatek: remove useless code in mtk_probe()
Remove useless local variables _match_, _soc_ and the code related.

Notice that

const struct of_device_id of_mtk_match[] = {
        { .compatible = "mediatek,mt2701-eth" },
        {},
};

So match->data is NULL.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-08 11:27:55 +01:00
..
Kconfig
Makefile
mtk_eth_soc.c net: ethernet: mediatek: remove useless code in mtk_probe() 2017-07-08 11:27:55 +01:00
mtk_eth_soc.h net-next: mediatek: split IRQ register locking into TX and RX 2017-06-20 13:40:35 -04:00