diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-08-19 20:40:08 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-08-20 14:39:52 +0100 |
| commit | bbf6a2d92361a126f77a29f70a773736c5339f6d (patch) | |
| tree | 1d330fe817ec0dd8fa78f1539858e3e8748a39e6 /lib/mpi/mpiutil.c | |
| parent | 3b95d1b29386dd4328e471fda2eee74b7fd4a4b3 (diff) | |
net: mscc: ocelot: use helpers for port VLAN membership
This is a mostly cosmetic patch that creates some helpers for accessing
the VLAN table. These helpers are also a bit more careful in that they
do not modify the ocelot->vlan_mask unless the hardware operation
succeeded.
Not all callers check the return value (the init code doesn't), but anyway.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
