mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
sfxge(4): remove unimplemented sensor reconfigure method
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week
This commit is contained in:
parent
6faddc3444
commit
45de2df438
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299732
@ -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 *);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user