mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
ip17x: fix non-debug build
PR: 278847 Reviewed by: jhibbits Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45133
This commit is contained in:
parent
b2792a300d
commit
82f43db382
1 changed files with 2 additions and 2 deletions
|
|
@ -556,7 +556,7 @@ ip17x_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr)
|
|||
static int
|
||||
ip17x_readreg(device_t dev, int addr)
|
||||
{
|
||||
struct ip17x_softc *sc;
|
||||
struct ip17x_softc *sc __diagused;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
IP17X_LOCK_ASSERT(sc, MA_OWNED);
|
||||
|
|
@ -568,7 +568,7 @@ ip17x_readreg(device_t dev, int addr)
|
|||
static int
|
||||
ip17x_writereg(device_t dev, int addr, int value)
|
||||
{
|
||||
struct ip17x_softc *sc;
|
||||
struct ip17x_softc *sc __diagused;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
IP17X_LOCK_ASSERT(sc, MA_OWNED);
|
||||
|
|
|
|||
Loading…
Reference in a new issue