diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2023-08-24 20:42:23 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2023-08-24 20:48:19 +0000 |
| commit | 725e4008efef32dfbe57b3e21635fa80dde8ee38 (patch) | |
| tree | 066394062d55ad8e43eddb0b54c751005e104612 /sys/dev/ixgbe | |
| parent | 14a14e36aee2e6b848c239ac29090ad4cb66fbf7 (diff) | |
Diffstat (limited to 'sys/dev/ixgbe')
| -rw-r--r-- | sys/dev/ixgbe/if_ix.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c index e8fb5de493ce..17f1f73a526e 100644 --- a/sys/dev/ixgbe/if_ix.c +++ b/sys/dev/ixgbe/if_ix.c @@ -1256,7 +1256,7 @@ ixgbe_if_i2c_req(if_ctx_t ctx, struct ifi2creq *req) * @ctx: iflib context * @event: event code to check * - * Defaults to returning true for unknown events. + * Defaults to returning false for unknown events. * * @returns true if iflib needs to reinit the interface */ @@ -1265,9 +1265,8 @@ ixgbe_if_needs_restart(if_ctx_t ctx __unused, enum iflib_restart_event event) { switch (event) { case IFLIB_RESTART_VLAN_CONFIG: - return (false); default: - return (true); + return (false); } } |
