summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2021-01-18 18:13:13 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-02-12 21:20:13 +0300
commit43a925e49d467c2a5d7f510fbf25ef9835715e24 (patch)
tree89cd0f77d4bf1976f8903fa94a2063445b050e20 /net/switchdev/switchdev.c
parent29b82f2a09d5904420ba7b5fb95a094cf1550bb6 (diff)
downloadlinux-43a925e49d467c2a5d7f510fbf25ef9835715e24.tar.xz
ice: remove redundant checks in ice_change_mtu
dev_validate_mtu checks that mtu value specified by user is not less than min mtu and not greater than max allowed mtu. It is being done before calling the ndo_change_mtu exposed by driver, so remove these redundant checks in ice_change_mtu. Reviewed-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Tested-by: Tony Brelinski <tonyx.brelinski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions