r8169: remove callback hw_start from struct rtl_cfg_info
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 10 Jun 2019 16:23:30 +0000 (18:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 17:37:34 +0000 (10:37 -0700)
commit6c19156e29957ae5defbba12fd73b2a11da0854e
tree8ce9fed1be51fdc416a8c74cacf1ec675f15df6f
parentbc73241e29cc93822513071589b3eb6c5671c567
r8169: remove callback hw_start from struct rtl_cfg_info

After the latest changes we don't need separate functions
rtl_hw_start_8168 and rtl_hw_start_8101 any longer. This allows us to
simplify the code. For this change we need to move rtl_hw_start() and
rtl_hw_start_8169(). rtl_hw_start_8169() is unchanged.

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