r8169: improve rtl_jumbo_config
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 15 Feb 2020 13:52:58 +0000 (14:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:36:06 +0000 (19:36 -0800)
commit9db0ac57bd3286fedcf43a86b29b847cea281cc7
treed002ee2a796ee85888bec35dcce550b61414d717
parentf1f9ca2875692e3c07ae01663d6adaf4a6029bc0
r8169: improve rtl_jumbo_config

Merge enabling and disabling jumbo packets to one function to make
the code a little simpler.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c