r8169: remove unneeded return statement in rtl_hw_init_8168g
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 25 May 2019 18:44:01 +0000 (20:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 May 2019 05:19:39 +0000 (22:19 -0700)
Remove not needed return statement.

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

index c6969465303e7b236b10e6ac2e1cb15796297634..e861edca2867ccb3c44f4d23f4f3f6019894913e 100644 (file)
@@ -7043,8 +7043,7 @@ static void rtl_hw_init_8168g(struct rtl8169_private *tp)
        data |= (1 << 15);
        r8168_mac_ocp_write(tp, 0xe8de, data);
 
-       if (!rtl_udelay_loop_wait_high(tp, &rtl_link_list_ready_cond, 100, 42))
-               return;
+       rtl_udelay_loop_wait_high(tp, &rtl_link_list_ready_cond, 100, 42);
 }
 
 static void rtl_hw_initialize(struct rtl8169_private *tp)