igb: simplify and clean up igb_enable_mas()
authorTodd Fujinaka <todd.fujinaka@intel.com>
Sat, 2 May 2015 07:39:03 +0000 (00:39 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 4 May 2015 08:17:47 +0000 (01:17 -0700)
commit8cfb879d1b118e190bf9aea1b50da62c0d8a4a77
tree12a4247e187f0e62b2fbe3154c68a816ab038a13
parent4256af62c44b40ffd1c218ad85fc8fd4234d1736
igb: simplify and clean up igb_enable_mas()

igb_enable_mas() should only be called for the 82575 and has no clear
return so changing it to void. Also simplify the odd conditional
expression.

Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c