net: xilinx: emaclite: Remove xemaclite_remove_ndev()
authorTobias Klauser <tklauser@distanz.ch>
Thu, 5 Jan 2017 09:41:36 +0000 (10:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jan 2017 16:29:22 +0000 (11:29 -0500)
commit60f9b5e8068babbace0d239765f07a538505ed5a
tree4b8023002664654aad0194e6185e43fc5de95a67
parentaa884a26a135f0870ca1f52f276deeb58da79fee
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>
drivers/net/ethernet/xilinx/xilinx_emaclite.c