aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_link.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x_link.c')
-rw-r--r--drivers/net/bnx2x_link.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index 35f3b5a05723..280f008c616d 100644
--- a/drivers/net/bnx2x_link.c
+++ b/drivers/net/bnx2x_link.c
@@ -2668,11 +2668,7 @@ static u8 bnx2x_sfp_module_detection(struct link_params *params)
2668 params->port); 2668 params->port);
2669 2669
2670 /* Check and set limiting mode / LRM mode */ 2670 /* Check and set limiting mode / LRM mode */
2671 if (bnx2x_bcm8726_set_limiting_mode(params, module_type) 2671 bnx2x_bcm8726_set_limiting_mode(params, module_type);
2672 != 0) {
2673 DP(NETIF_MSG_LINK, "Setting limiting mode failed!!\n");
2674 return -EINVAL;
2675 }
2676 2672
2677 /* Enable transmit for this module */ 2673 /* Enable transmit for this module */
2678 bnx2x_bcm8726_set_transmitter(bp, params->port, 2674 bnx2x_bcm8726_set_transmitter(bp, params->port,