net: ag71xx: remove unnecessary MTU reservation
authorDENG Qingfang <dqfext@gmail.com>
Thu, 18 Feb 2021 03:45:14 +0000 (11:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Mar 2021 11:34:07 +0000 (12:34 +0100)
commita31cb3072d11411e3fdf2d93ab3daded5b69d18b
treeaab5e668645756462e23a32d5f13bae8b62a1d33
parent10b55a0a7f4be197623f90958d9e6004c8fc987a
net: ag71xx: remove unnecessary MTU reservation

commit 04b385f325080157ab1b5f8ce1b1de07ce0d9e27 upstream.

2 bytes of the MTU are reserved for Atheros DSA tag, but DSA core
has already handled that since commit dc0fe7d47f9f.
Remove the unnecessary reservation.

Fixes: d51b6ce441d3 ("net: ethernet: add ag71xx driver")
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20210218034514.3421-1-dqfext@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/atheros/ag71xx.c