commit | bc831facf8a11e4e615dc67ae790325710bc1979 | [log] [tgz] |
---|---|---|
author | Wang Hai <wanghai38@huawei.com> | Thu Jun 10 20:48:26 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 10 14:08:09 2021 -0700 |
tree | aef759ab77ecc12eec17bf9786fa921b8fa07c2b | |
parent | 9e2b7b0450cfc6a99ceaa37843cb5d0179e1c2ae [diff] |
net: x25: Use list_for_each_entry() to simplify code in x25_route.c Convert list_for_each() to list_for_each_entry() where applicable. This simplifies the code. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>