i40e: fix build with gcc 5
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 19 Feb 2015 11:21:10 +0000 (13:21 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 20 Feb 2015 14:10:09 +0000 (15:10 +0100)
commit3c2100485570c11859ecd39676100645f24278a7
treea4c3996d5e51a5cadbc4b19bd5c565391088beaf
parent422a20a4e62d7a7edf96aa7bc781ca20332247b1
i40e: fix build with gcc 5

Eliminate ambiguity in the condition which trips up a "logical not
is only applied to the left..." warning from gcc 5, causing build
failure with -Werror. Besides non-ambiguous, the condition is
far more obvious this way.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_pmd_i40e/i40e_rxtx.c