Skip to content
Snippets Groups Projects
Commit 3fa5f11d authored by Stefano Brivio's avatar Stefano Brivio Committed by David S. Miller
Browse files

geneve: Get rid of is_all_zero(), streamline is_tnl_info_zero()


No need to re-invent memchr_inv() with !is_all_zero(). While at
it, replace conditional and return clauses with a single return
clause in is_tnl_info_zero().

Signed-off-by: default avatarStefano Brivio <sbrivio@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c44768e0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment