Skip to content
Commit 60f9b5e8 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller
Browse files

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: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aa884a26
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment