i40e: don't use OR to check a value
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 16 Apr 2014 01:21:40 +0000 (01:21 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 5 Jun 2014 08:20:06 +0000 (01:20 -0700)
commitd3a90b70d8ffe6dd82a3fa22515a2ebc399aca28
tree803803b3146b1ee63d60823a45eacb5dbd1faae0
parentebbe495f19d565bb39be31ca28126a222b6a66dd
i40e: don't use OR to check a value

A couple of FD checks ended up using bitwise OR to check
a value, which ends up always being evaluated to true.

This should fix the issue.  Thanks to DaveJ for noticing
and reporting the issue!

CC: Dave Jones <davej@redhat.com>
Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c