ixgbe: Simplify port-specific macros
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 6 Jun 2015 17:41:03 +0000 (10:41 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 18 Aug 2015 21:06:07 +0000 (14:06 -0700)
commitd147329b0ac66490d9eb331b0a89a79d09d4dfbc
tree1675a1d26a41ca2d15ded857c41c7a7b58ba49ef
parentceee3450b3a85db05a107d54fbea031c77d30401
ixgbe: Simplify port-specific macros

Simplify port-specific macros by eliminating explicit comparison
with 0. More importantly, enclose formal parameter in parens to
eliminate the risk of an operator precedence surprise.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h