diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2018-03-09 01:52:06 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-03-14 22:22:21 +0300 |
commit | 2972b00797588b5cfdd8369612cca8415a4e9e73 (patch) | |
tree | 57ee40305a36207ecdf96f8ff45826f42722de1d /drivers/regulator/mt6311-regulator.c | |
parent | 028daf80117376b22909becd9720daaefdfceff4 (diff) | |
download | linux-2972b00797588b5cfdd8369612cca8415a4e9e73.tar.xz |
i40e: Cleanup i40e_vlan_rx_register
We used to use the function i40e_vlan_rx_register as a way to hook
into the now defunct .ndo_vlan_rx_register netdev hook. This was
removed but we kept the function around because we still used it
internally to control enabling or disabling of VLAN stripping.
As pointed out in upstream review, VLAN stripping is only used in a
single location and the previous function is quite small, just inline
it into i40e_restore_vlan() rather than carrying the function
separately.
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>
Diffstat (limited to 'drivers/regulator/mt6311-regulator.c')
0 files changed, 0 insertions, 0 deletions