Skip to content
Commit bb23ffa1 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by David S. Miller
Browse files

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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 99014088
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment