diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2016-11-11 12:39:34 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-02-02 22:37:39 -0800 |
commit | d983001f044cf823490af7dcfcde39cfb42be0db (patch) | |
tree | ad08d1d8031bcc1401988cdf978e26e9a9093833 /net/decnet | |
parent | 7aaf9536c45021772a5bc6cd4b620a11eac750f7 (diff) |
i40e: no need to check is_vsi_in_vlan before calling i40e_del_mac_all_vlan
This function won't be appreciably slower when in VLAN mode, so there is
no real reason to not just call it directly. In either case, we still
must search the full table for a MAC/VLAN pair. We do get to stop
searching a tiny bit early in the case of knowing we are not in VLAN
mode, but this is a minor savings and we can avoid the code complexity
by not having to worry about the check.
Change-ID: I533412195b3a42f51cf629e3675dd5145aea8625
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 'net/decnet')
0 files changed, 0 insertions, 0 deletions