summaryrefslogtreecommitdiff
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2021-03-26 01:35:17 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-04-08 03:09:16 +0300
commit771015b90b8686a20f9f328a050ef624e490f475 (patch)
treeea04cf1da3a794a34f8dc60a6fe84e783325dcf9 /lib/xarray.c
parent51fe27e179b1fba5504068bdf02453acfabe96b0 (diff)
downloadlinux-771015b90b8686a20f9f328a050ef624e490f475.tar.xz
ice: Remove unnecessary checks in add/kill_vid ndo ops
Currently the driver is doing two unnecessary checks. First both ops are checking if the VLAN ID passed in is less than VLAN_N_VID and second both ops are checking to see if a port VLAN is configured on the VSI. The first check is already handled by the 8021q driver so this is an unnecessary check. The second check is unnecessary because the PF VSI is never put into a port VLAN. Remove these checks. Signed-off-by: Brett Creeley <brett.creeley@intel.com> Tested-by: Tony Brelinski <tonyx.brelinski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions