| Submitter | Eilon Greenstein |
|---|---|
| Date | March 2, 2009, 6 p.m. |
| Message ID | <1236016807.7723.82.camel@lb-tlvb-eliezer> |
| Download | mbox | patch |
| Permalink | /patch/23950/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c index 35f3b5a..280f008 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) params->port); /* Check and set limiting mode / LRM mode */ - if (bnx2x_bcm8726_set_limiting_mode(params, module_type) - != 0) { - DP(NETIF_MSG_LINK, "Setting limiting mode failed!!\n"); - return -EINVAL; - } + bnx2x_bcm8726_set_limiting_mode(params, module_type); /* Enable transmit for this module */ bnx2x_bcm8726_set_transmitter(bp, params->port,