i40e: fold the i40e_is_vsi_in_vlan check into i40e_put_mac_in_vlan
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 11 Nov 2016 20:39:33 +0000 (12:39 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 Feb 2017 06:37:09 +0000 (22:37 -0800)
commit7aaf9536c45021772a5bc6cd4b620a11eac750f7
tree0a3835088413b73c6827dc6a615a8ea4b28e2367
parentf94484b7584765eebded5d7bfdeb0b2c7b1caf51
i40e: fold the i40e_is_vsi_in_vlan check into i40e_put_mac_in_vlan

Fold the check for determining when to call i40e_put_mac_in_vlan directly
into the function so that we don't need to decide which function to use
ahead of time. This allows us to just call i40e_put_mac_in_vlan directly
without having to check ahead of time.

Change-ID: Ifff526940748ac14b8418be5df5a149502eed137
Signed-off-by: Jacob Keller <jacob.e.keller@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_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c