mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
if_mos: Remove set but unused variable.
Reviewed by: hselasky Reported by: GCC Differential Revision: https://reviews.freebsd.org/D39356
This commit is contained in:
parent
4b6228906f
commit
5328efb3d0
1 changed files with 0 additions and 3 deletions
|
|
@ -424,11 +424,8 @@ static int
|
|||
mos_miibus_readreg(device_t dev, int phy, int reg)
|
||||
{
|
||||
struct mos_softc *sc = device_get_softc(dev);
|
||||
uWord val;
|
||||
int i, res, locked;
|
||||
|
||||
USETW(val, 0);
|
||||
|
||||
locked = mtx_owned(&sc->sc_mtx);
|
||||
if (!locked)
|
||||
MOS_LOCK(sc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue