From: Intel-wired-lan <[email protected]> On Behalf Of Maciej 
Fijalkowski
Sent: Monday, January 18, 2021 7:13 AM
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]; Topel, Bjorn 
<[email protected]>; Karlsson, Magnus <[email protected]>
Subject: [Intel-wired-lan] [PATCH v3 net-next 06/11] 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 <[email protected]>
Signed-off-by: Maciej Fijalkowski <[email protected]>
---
 drivers/net/ethernet/intel/ice/ice_main.c | 9 ---------
 1 file changed, 9 deletions(-)

Tested-by: Tony Brelinski <[email protected]> A Contingent Worker at 
Intel

Reply via email to