Home
last modified time | relevance | path

Searched hist:"1 d04ccb9" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/
H A Dbareudp.c1d04ccb9 Mon Jan 11 05:29:22 GMT 2021 Jakub Kicinski <kuba@kernel.org> net: bareudp: simplify error paths calling dellink

bareudp_dellink() only needs the device list to hand it to
unregister_netdevice_queue(). We can pass NULL in, and
unregister_netdevice_queue() will do the unregistering.
There is no chance for batching on the error path, anyway.

Suggested-by: Cong Wang <xiyou.wangcong@gmail.com>
Reviewed-by: Cong Wang <xiyou.wangcong@gmail.com>
Link: https://lore.kernel.org/r/20210111052922.2145003-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>