|
@@ -547,7 +547,6 @@ static DEVICE_ATTR(primary_flag, 0444, efx_ef10_show_primary_flag, NULL);
|
|
|
static int efx_ef10_probe(struct efx_nic *efx)
|
|
|
{
|
|
|
struct efx_ef10_nic_data *nic_data;
|
|
|
- struct net_device *net_dev = efx->net_dev;
|
|
|
int i, rc;
|
|
|
|
|
|
/* We can have one VI for each 8K region. However, until we
|
|
@@ -637,7 +636,6 @@ static int efx_ef10_probe(struct efx_nic *efx)
|
|
|
if (rc < 0)
|
|
|
goto fail5;
|
|
|
efx->port_num = rc;
|
|
|
- net_dev->dev_port = rc;
|
|
|
|
|
|
rc = efx->type->get_mac_address(efx, efx->net_dev->perm_addr);
|
|
|
if (rc)
|