]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94f47b8886f6c860bffb4e62e939b3029af1c8c3
tree1675a1d26a41ca2d15ded857c41c7a7b58ba49ef
parentd6575d6db759dab42b57a82dd8ac7cc42428385f
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