diff options
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c b/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c index 9b70cccf843..7127c7b9efd 100644 --- a/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c +++ b/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c | |||
@@ -253,8 +253,7 @@ static int hash_mac_addr(const u8 *addr) | |||
253 | * Initializes the SW state maintained for each link, including the link's | 253 | * Initializes the SW state maintained for each link, including the link's |
254 | * capabilities and default speed/flow-control/autonegotiation settings. | 254 | * capabilities and default speed/flow-control/autonegotiation settings. |
255 | */ | 255 | */ |
256 | static void init_link_config(struct link_config *lc, | 256 | static void init_link_config(struct link_config *lc, unsigned int caps) |
257 | unsigned int caps) | ||
258 | { | 257 | { |
259 | lc->supported = caps; | 258 | lc->supported = caps; |
260 | lc->requested_speed = 0; | 259 | lc->requested_speed = 0; |