Re: [Patch net-next] net: remove some useless list_del()
From: Eric Dumazet <hidden> Date: 2014-06-04 00:43:03
On Tue, 2014-06-03 at 17:11 -0700, Cong Wang wrote:
"list_kill" is allocated on stack and it's a list head,
it is pointless to call list_del(&kill_list) especially
after unregister_netdevice_many().
How pointless exactly ? Explain more please.
I suggest you read various commits adding these list_del()
f87e6f47933e3ebeced9bb12615e830a72cedce4 is a good start.