diff options
author | 2017-01-05 10:41:36 +0100 | |
---|---|---|
committer | 2017-01-05 11:29:22 -0500 | |
commit | 60f9b5e8068babbace0d239765f07a538505ed5a (patch) | |
tree | 4b8023002664654aad0194e6185e43fc5de95a67 /drivers/net/xen-netfront.c | |
parent | net: ethoc: Remove unused members from struct ethoc (diff) | |
download | linux-rng-60f9b5e8068babbace0d239765f07a538505ed5a.tar.xz linux-rng-60f9b5e8068babbace0d239765f07a538505ed5a.zip |
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/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions