HomeFreeBSD

sfxge(4): removing unneeded assert

Description

sfxge(4): removing unneeded assert

Remove ASSERT() from sfxge_link_mode_to_phy_cap() which causes an
unnecessary panic, even though the callers have proper error handling.

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18167

Details

Provenance
arybchikAuthored on
Differential Revision
D18167: sfxge(4): removing unneeded assert
Parents
rS341047: sfxge(4): simplify loopback type checking
Branches
Unknown
Tags
Unknown