diff options
Diffstat (limited to 'drivers/net/sfc/falcon_gmac.c')
-rw-r--r-- | drivers/net/sfc/falcon_gmac.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/sfc/falcon_gmac.c b/drivers/net/sfc/falcon_gmac.c index b6e6eb963905..8865eae20ac5 100644 --- a/drivers/net/sfc/falcon_gmac.c +++ b/drivers/net/sfc/falcon_gmac.c | |||
@@ -221,13 +221,9 @@ static void falcon_update_stats_gmac(struct efx_nic *efx) | |||
221 | mac_stats->rx_lt64 = mac_stats->rx_good_lt64 + mac_stats->rx_bad_lt64; | 221 | mac_stats->rx_lt64 = mac_stats->rx_good_lt64 + mac_stats->rx_bad_lt64; |
222 | } | 222 | } |
223 | 223 | ||
224 | static int falcon_check_gmac(struct efx_nic *efx) | ||
225 | { | ||
226 | return efx->phy_op->check_hw(efx); | ||
227 | } | ||
228 | |||
229 | struct efx_mac_operations falcon_gmac_operations = { | 224 | struct efx_mac_operations falcon_gmac_operations = { |
230 | .reconfigure = falcon_reconfigure_gmac, | 225 | .reconfigure = falcon_reconfigure_gmac, |
231 | .update_stats = falcon_update_stats_gmac, | 226 | .update_stats = falcon_update_stats_gmac, |
232 | .check_hw = falcon_check_gmac, | 227 | .irq = efx_port_dummy_op_void, |
228 | .poll = efx_port_dummy_op_void, | ||
233 | }; | 229 | }; |