aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/niu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c
index c26325ded20e..32374a1c123b 100644
--- a/drivers/net/niu.c
+++ b/drivers/net/niu.c
@@ -2284,7 +2284,6 @@ static int serdes_init_10g_serdes(struct niu *np)
2284 struct niu_link_config *lp = &np->link_config; 2284 struct niu_link_config *lp = &np->link_config;
2285 unsigned long ctrl_reg, test_cfg_reg, pll_cfg, i; 2285 unsigned long ctrl_reg, test_cfg_reg, pll_cfg, i;
2286 u64 ctrl_val, test_cfg_val, sig, mask, val; 2286 u64 ctrl_val, test_cfg_val, sig, mask, val;
2287 int err;
2288 u64 reset_val; 2287 u64 reset_val;
2289 2288
2290 switch (np->port) { 2289 switch (np->port) {
@@ -2337,6 +2336,7 @@ static int serdes_init_10g_serdes(struct niu *np)
2337 /* Initialize all 4 lanes of the SERDES. */ 2336 /* Initialize all 4 lanes of the SERDES. */
2338 for (i = 0; i < 4; i++) { 2337 for (i = 0; i < 4; i++) {
2339 u32 rxtx_ctrl, glue0; 2338 u32 rxtx_ctrl, glue0;
2339 int err;
2340 2340
2341 err = esr_read_rxtx_ctrl(np, i, &rxtx_ctrl); 2341 err = esr_read_rxtx_ctrl(np, i, &rxtx_ctrl);
2342 if (err) 2342 if (err)