Skip to content

Commit 0a413e6

Browse files
hkallweitJakub Kicinski
authored andcommitted
r8169: remove rtl_hw_start_8168dp
We can remove rtl_hw_start_8168dp() because it's the same as rtl_hw_start_8168dp() now. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
1 parent e0bbe7c commit 0a413e6

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

‎drivers/net/ethernet/realtek/r8169_main.c‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4520,13 +4520,6 @@ static void rtl_hw_start_8168d(struct rtl8169_private *tp)
45204520
rtl_disable_clock_request(tp);
45214521
}
45224522

4523-
static void rtl_hw_start_8168dp(struct rtl8169_private *tp)
4524-
{
4525-
rtl_set_def_aspm_entry_latency(tp);
4526-
4527-
rtl_disable_clock_request(tp);
4528-
}
4529-
45304523
static void rtl_hw_start_8168d_4(struct rtl8169_private *tp)
45314524
{
45324525
static const struct ephy_info e_info_8168d_4[] = {
@@ -5317,7 +5310,7 @@ static void rtl_hw_config(struct rtl8169_private *tp)
53175310
[RTL_GIGA_MAC_VER_28] = rtl_hw_start_8168d_4,
53185311
[RTL_GIGA_MAC_VER_29] = rtl_hw_start_8105e_1,
53195312
[RTL_GIGA_MAC_VER_30] = rtl_hw_start_8105e_2,
5320-
[RTL_GIGA_MAC_VER_31] = rtl_hw_start_8168dp,
5313+
[RTL_GIGA_MAC_VER_31] = rtl_hw_start_8168d,
53215314
[RTL_GIGA_MAC_VER_32] = rtl_hw_start_8168e_1,
53225315
[RTL_GIGA_MAC_VER_33] = rtl_hw_start_8168e_1,
53235316
[RTL_GIGA_MAC_VER_34] = rtl_hw_start_8168e_2,

0 commit comments

Comments
 (0)