diff options
author | Gustavo A. R. Silva <[email protected]> | 2017-07-07 15:23:34 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-07-08 11:27:55 +0100 |
commit | e8df760307830ca26cf380a9a4b36468a0352fa5 (patch) | |
tree | d7c6c009a17b14c8063c386139341e75a2ed3566 /lib/netdev-notifier-error-inject.c | |
parent | a906c1aa43fa9f3785240fda03269d4283635df2 (diff) |
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 <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions