diff options
| author | Pavel Belous <[email protected]> | 2017-02-20 22:36:41 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-02-20 17:11:09 -0500 |
| commit | 5513e16421cb9538f4e394734e4b96ea0d857b23 (patch) | |
| tree | 89227b661823bf9686670dbbed84786ac19e7949 /tools/perf/scripts/python/bin | |
| parent | 15e32a5e1e016f40712c3c843c84078385c49db2 (diff) | |
net: ethernet: aquantia: Fixes for aq_ndev_change_mtu
1)Removed unnecessary comparsion "old_mtu == new_mtu".
This check is not needed. Function aq_ndev_change_mtu wont be called
if mtu has not changed.
2)Removed extra assignment ndev->mtu = new_mtu;
This assignment already done inside __dev_set_mtu().
3)Use core MTU checking for min_mtu.
Signed-off-by: Pavel Belous <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions