diff options
author | arybchik <arybchik@FreeBSD.org> | 2016-06-04 16:15:31 +0000 |
---|---|---|
committer | arybchik <arybchik@FreeBSD.org> | 2016-06-04 16:15:31 +0000 |
commit | 11ace74ef0a2fd5c6d6932c65e651a9ee47b5266 (patch) | |
tree | e31c045cc5e1d3943327b9336b05f68efea11b3e | |
parent | e6a8b45ebbfb0c4b4d3367d4eec7dd841f4e379e (diff) | |
download | FreeBSD-src-11ace74ef0a2fd5c6d6932c65e651a9ee47b5266.zip FreeBSD-src-11ace74ef0a2fd5c6d6932c65e651a9ee47b5266.tar.gz |
MFC r299732
sfxge(4): remove unimplemented sensor reconfigure method
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
-rw-r--r-- | sys/dev/sfxge/common/efx_impl.h | 1 | ||||
-rw-r--r-- | sys/dev/sfxge/common/efx_mon.c | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/sfxge/common/efx_impl.h b/sys/dev/sfxge/common/efx_impl.h index 22796e5..3eb6862 100644 --- a/sys/dev/sfxge/common/efx_impl.h +++ b/sys/dev/sfxge/common/efx_impl.h @@ -292,7 +292,6 @@ typedef struct efx_port_s { } efx_port_t; typedef struct efx_mon_ops_s { - efx_rc_t (*emo_reconfigure)(efx_nic_t *); #if EFSYS_OPT_MON_STATS efx_rc_t (*emo_stats_update)(efx_nic_t *, efsys_mem_t *, efx_mon_stat_value_t *); diff --git a/sys/dev/sfxge/common/efx_mon.c b/sys/dev/sfxge/common/efx_mon.c index 28b195b..0bd37e9 100644 --- a/sys/dev/sfxge/common/efx_mon.c +++ b/sys/dev/sfxge/common/efx_mon.c @@ -67,7 +67,6 @@ efx_mon_name( #if EFSYS_OPT_MON_MCDI static const efx_mon_ops_t __efx_mon_mcdi_ops = { - NULL, /* emo_reconfigure */ #if EFSYS_OPT_MON_STATS mcdi_mon_stats_update /* emo_stats_update */ #endif /* EFSYS_OPT_MON_STATS */ @@ -110,16 +109,9 @@ efx_mon_init( goto fail2; } - if (emop->emo_reconfigure != NULL) { - if ((rc = emop->emo_reconfigure(enp)) != 0) - goto fail3; - } - emp->em_emop = emop; return (0); -fail3: - EFSYS_PROBE(fail3); fail2: EFSYS_PROBE(fail2); |