Skip to content
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
Loading
Loading
Loading
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