On Sun, Jan 10, 2021 at 9:29 PM Jakub Kicinski <k...@kernel.org> wrote: > > 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.wangc...@gmail.com> > Signed-off-by: Jakub Kicinski <k...@kernel.org>
Reviewed-by: Cong Wang <xiyou.wangc...@gmail.com> Thanks for cleaning up!