commit | 3fa5f11de1ab98a6c54693b78880167a2693cee1 | [log] [tgz] |
---|---|---|
author | Stefano Brivio <sbrivio@redhat.com> | Fri Oct 20 13:31:36 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 22 02:42:39 2017 +0100 |
tree | 4dcf64be7d2892ee037a6208647275b2a642d5b7 | |
parent | c44768e058827064704452f88b543f802f955cae [diff] |
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: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>