summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/realtek
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-05-25 20:44:01 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-26 22:19:39 -0700
commit7160be2de59a9c45ffb18e62974289a0a7ab5232 (patch)
tree552bd54cfe33cab42487e2d0f75bd8859c42bc88 /drivers/net/ethernet/realtek
parent29ec0482c139298d8b33aab4bde4dbdb5836fc9e (diff)
downloadlinux-7160be2de59a9c45ffb18e62974289a0a7ab5232.tar.bz2
r8169: remove unneeded return statement in rtl_hw_init_8168g
Remove not needed return statement. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek')
-rw-r--r--drivers/net/ethernet/realtek/r8169.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index c6969465303e..e861edca2867 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -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)