summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorPavel Belous <pavel.belous@aquantia.com>2017-02-20 22:36:41 +0300
committerDavid S. Miller <davem@davemloft.net>2017-02-21 01:11:09 +0300
commit5513e16421cb9538f4e394734e4b96ea0d857b23 (patch)
tree89227b661823bf9686670dbbed84786ac19e7949 /Kconfig
parent15e32a5e1e016f40712c3c843c84078385c49db2 (diff)
downloadlinux-5513e16421cb9538f4e394734e4b96ea0d857b23.tar.xz
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 <pavel.belous@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions