i40e/i40evf: use logical operator
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 6 Nov 2015 23:26:11 +0000 (15:26 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 3 Dec 2015 10:23:38 +0000 (02:23 -0800)
commit44cdb791ae7bc40e0331b78a73992be44079a3ec
treeece7c735524a44571132bf3642706c6395389e37
parentb82bc49ede1f012d37ba8777e8232cd7c01365cd
i40e/i40evf: use logical operator

We shouldn't be using a bitwise operator here; it's not a bitwise
operation. Use a logical operator instead. Why doesn't c have a
logical-or-and-assign operator?

Change-ID: Id84f3ca884910bed7073c84b1e16a102e958d0de
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c