aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r--drivers/net/sfc/efx.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index d17cea9f4e88..15616dd9ed41 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -693,8 +693,6 @@ static void efx_mac_work(struct work_struct *data)
693 struct efx_nic *efx = container_of(data, struct efx_nic, mac_work); 693 struct efx_nic *efx = container_of(data, struct efx_nic, mac_work);
694 694
695 mutex_lock(&efx->mac_lock); 695 mutex_lock(&efx->mac_lock);
696 if (efx->port_enabled)
697 efx->mac_op->irq(efx);
698 mutex_unlock(&efx->mac_lock); 696 mutex_unlock(&efx->mac_lock);
699} 697}
700 698
@@ -774,7 +772,6 @@ static void efx_start_port(struct efx_nic *efx)
774 mutex_lock(&efx->mac_lock); 772 mutex_lock(&efx->mac_lock);
775 efx->port_enabled = true; 773 efx->port_enabled = true;
776 __efx_reconfigure_port(efx); 774 __efx_reconfigure_port(efx);
777 efx->mac_op->irq(efx);
778 mutex_unlock(&efx->mac_lock); 775 mutex_unlock(&efx->mac_lock);
779} 776}
780 777
@@ -1903,8 +1900,6 @@ void efx_port_dummy_op_set_id_led(struct efx_nic *efx, enum efx_led_mode mode)
1903 1900
1904static struct efx_mac_operations efx_dummy_mac_operations = { 1901static struct efx_mac_operations efx_dummy_mac_operations = {
1905 .reconfigure = efx_port_dummy_op_void, 1902 .reconfigure = efx_port_dummy_op_void,
1906 .poll = efx_port_dummy_op_void,
1907 .irq = efx_port_dummy_op_void,
1908}; 1903};
1909 1904
1910static struct efx_phy_operations efx_dummy_phy_operations = { 1905static struct efx_phy_operations efx_dummy_phy_operations = {