commit | 73e42909ef2d1fa554b39bf6ae3eb1546dfc97a5 | [log] [tgz] |
---|---|---|
author | Wang Hai <wanghai38@huawei.com> | Thu Jun 10 21:03:55 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 10 14:08:09 2021 -0700 |
tree | d1be33f687ab172204f432a5298a609dca2bfe34 | |
parent | 3e98ae0014cb882a2989cf4465e2b26688d3608d [diff] |
atm: Use list_for_each_entry() to simplify code in resources.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>