diff options
author | Marek BehĂșn <kabel@kernel.org> | 2021-03-17 14:46:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-17 14:44:18 -0700 |
commit | 2fda45f019fd4feca5ed672dbb8323375adbdcfb (patch) | |
tree | a4a8292a65fb43dcb69e9a2d0793bf20ece98163 /kernel/locking/lockdep_states.h | |
parent | 193c5b2698e3915a66ae79702858396d6e6fc9f5 (diff) |
net: dsa: mv88e6xxx: wrap .set_egress_port method
There are two implementations of the .set_egress_port method, and both
of them, if successful, set chip->*gress_dest_port variable.
To avoid code repetition, wrap this method into
mv88e6xxx_set_egress_port.
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Reviewed-by: Pavana Sharma <pavana.sharma@digi.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/locking/lockdep_states.h')
0 files changed, 0 insertions, 0 deletions