mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
e6000sw_set_atustat: eliminate write only ret variable
Sponsored by: Netflix
This commit is contained in:
parent
3ca3bb576b
commit
9a2e6ca6ef
1 changed files with 1 additions and 2 deletions
|
|
@ -1529,9 +1529,8 @@ e6000sw_setup(device_t dev, e6000sw_softc_t *sc)
|
|||
static void
|
||||
e6000sw_set_atustat(device_t dev, e6000sw_softc_t *sc, int bin, int flag)
|
||||
{
|
||||
uint16_t ret;
|
||||
|
||||
ret = e6000sw_readreg(sc, REG_GLOBAL2, ATU_STATS);
|
||||
e6000sw_readreg(sc, REG_GLOBAL2, ATU_STATS);
|
||||
e6000sw_writereg(sc, REG_GLOBAL2, ATU_STATS, (bin << ATU_STATS_BIN ) |
|
||||
(flag << ATU_STATS_FLAG));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue