Thread (7 messages) 7 messages, 5 authors, 2017-07-08

Re: [PATCH] net: ethernet: mediatek: remove useless code in mtk_probe()

From: David Miller <davem@davemloft.net>
Date: 2017-07-08 10:28:26
Also in: linux-arm-kernel, linux-mediatek, lkml

From: "Gustavo A. R. Silva" <redacted>
Date: Fri, 7 Jul 2017 15:23:34 -0500
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 <redacted>
Applied, thanks.

If someone needs this they can it back, in a less buggy form.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help