net: x25: convert to list_for_each_entry_safe()
authorchenqiwu <chenqiwu@xiaomi.com>
Fri, 14 Feb 2020 09:18:26 +0000 (17:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 02:59:42 +0000 (18:59 -0800)
commit1e5946f5f7fe9267c71097a83615a6e5eb0f4cfd
tree8913958128adf1bfc1ad88f31c2cf0a2dd0ab932
parent1f4c51de3361f3d9223f7662b9567844e9fb7ca8
net: x25: convert to list_for_each_entry_safe()

Use list_for_each_entry_safe() instead of list_for_each_safe()
to simplify the code.

Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/x25/x25_forward.c