diff options
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r-- | drivers/net/sfc/efx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index 6aed6acdd2d..7e820d90e6b 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c | |||
@@ -2198,7 +2198,6 @@ static int efx_init_struct(struct efx_nic *efx, struct efx_nic_type *type, | |||
2198 | /* Initialise common structures */ | 2198 | /* Initialise common structures */ |
2199 | memset(efx, 0, sizeof(*efx)); | 2199 | memset(efx, 0, sizeof(*efx)); |
2200 | spin_lock_init(&efx->biu_lock); | 2200 | spin_lock_init(&efx->biu_lock); |
2201 | mutex_init(&efx->mdio_lock); | ||
2202 | #ifdef CONFIG_SFC_MTD | 2201 | #ifdef CONFIG_SFC_MTD |
2203 | INIT_LIST_HEAD(&efx->mtd_list); | 2202 | INIT_LIST_HEAD(&efx->mtd_list); |
2204 | #endif | 2203 | #endif |