Re: [PATCH] net: xilinx: emaclite: Remove xemaclite_remove_ndev()

2017-01-05 Thread David Miller
From: Tobias Klauser Date: Thu, 5 Jan 2017 10:41:36 +0100 > 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-b

[PATCH] net: xilinx: emaclite: Remove xemaclite_remove_ndev()

2017-01-05 Thread Tobias Klauser
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 --- drivers/net/ethernet/xilinx/xilinx_emaclite.c | 1