diff options
author | Vivien Didelot | 2015-10-22 15:34:39 +0200 |
---|---|---|
committer | David S. Miller | 2015-10-22 16:38:37 +0200 |
commit | 36d04ba127eeed94b003155129c7509a2139b474 (patch) | |
tree | e416038fc106ced0086693a515bec1c2c04e36fa /drivers/net/arcnet | |
parent | net: dsa: add port_fdb_dump function (diff) | |
download | kernel-qcow2-linux-36d04ba127eeed94b003155129c7509a2139b474.tar.gz kernel-qcow2-linux-36d04ba127eeed94b003155129c7509a2139b474.tar.xz kernel-qcow2-linux-36d04ba127eeed94b003155129c7509a2139b474.zip |
net: dsa: mv88e6xxx: write VID outside of VTU Get Next code
There is no need to write the VLAN ID before every Get Next operation,
since the VTU VID register is not cleared between calls.
Move the VID write call in a _mv88e6xxx_vtu_vid_write function outside
of _mv88e6xxx_vtu_getnext so future code could call VTU Get Next
multiple times and save a few register accesses.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arcnet')
0 files changed, 0 insertions, 0 deletions