diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-04-25 18:14:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-27 14:03:11 -0700 |
commit | bb23ffa1015cb57e0c9ec3c6135275b38d66a780 (patch) | |
tree | 214226a28ed5f9a1658759f690d17f9e8bd89732 /net | |
parent | 99014088156cd78867d19514a0bc771c4b86b93b (diff) |
macvlan: Use 'hash' iterators to simplify code
Use 'hash_for_each_rcu' and 'hash_for_each_safe' instead of hand writing
them. This saves some lines of code, reduce indentation and improve
readability.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions