diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-01-05 10:41:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-05 11:29:22 -0500 |
commit | 60f9b5e8068babbace0d239765f07a538505ed5a (patch) | |
tree | 4b8023002664654aad0194e6185e43fc5de95a67 /drivers/net/dsa | |
parent | aa884a26a135f0870ca1f52f276deeb58da79fee (diff) |
net: xilinx: emaclite: Remove xemaclite_remove_ndev()
xemaclite_remove_ndev() is a simple wrapper around free_netdev()
checking for NULL before the call. All possible paths calling
it are guaranteed to pass a non-NULL argument, so rather call
free_netdev() directly.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions