arswitch: Remove unused variable.
This commit is contained in:
parent
f602f7e6f7
commit
3ef2d49e7d
@ -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 New Issue
Block a user