[Intel-wired-lan] [net-next v2] igb: simplify and clean up igb_enable_mas()
Brown, Aaron F
aaron.f.brown at intel.com
Thu Apr 16 03:54:30 UTC 2015
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Todd Fujinaka
> Sent: Friday, April 03, 2015 1:52 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [net-next v2] 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 at intel.com>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> ---
> v2: made igb_enable_mas() static based on feedback from automated testing
> ---
> drivers/net/ethernet/intel/igb/igb_main.c | 27 +++++++-----------------
> ---
> 1 file changed, 7 insertions(+), 20 deletions(-)
Tested-by: Aaron Brown <aaron.f.brown at intel.com>
More information about the Intel-wired-lan
mailing list