mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
arswitch: Remove unused variable.
This commit is contained in:
parent
f602f7e6f7
commit
3ef2d49e7d
1 changed files with 0 additions and 3 deletions
|
|
@ -184,11 +184,8 @@ arswitch_readreg(device_t dev, int addr)
|
|||
int
|
||||
arswitch_writereg(device_t dev, int addr, int value)
|
||||
{
|
||||
struct arswitch_softc *sc;
|
||||
uint16_t phy, reg;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
|
||||
arswitch_split_setpage(dev, addr, &phy, ®);
|
||||
return (arswitch_reg_write32(dev, 0x10 | phy, reg, value));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue