net: dsa: mv88e6xxx: MV88E6097 does not support jumbo configuration
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 23 Jul 2020 23:21:20 +0000 (11:21 +1200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:24:00 +0000 (08:24 +0200)
commit84bf49368e675ef1c320c8aed9bf6253b71141fb
treefd0c8603a8c48332bd1c10bde51705195404e7e3
parenta6b457279b3022d9885280a97f33ed35965e0f21
net: dsa: mv88e6xxx: MV88E6097 does not support jumbo configuration

[ Upstream commit 0f3c66a3c7b4e8b9f654b3c998e9674376a51b0f ]

The MV88E6097 chip does not support configuring jumbo frames. Prior to
commit 5f4366660d65 only the 6352, 6351, 6165 and 6320 chips configured
jumbo mode. The refactor accidentally added the function for the 6097.
Remove the erroneous function pointer assignment.

Fixes: 5f4366660d65 ("net: dsa: mv88e6xxx: Refactor setting of jumbo frames")
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/dsa/mv88e6xxx/chip.c