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
@ -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 New Issue
Block a user