]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: dsa_legacy_fdb_{add,del} can be static
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 8 Jan 2021 23:30:54 +0000 (01:30 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sun, 10 Jan 2021 02:05:52 +0000 (18:05 -0800)
commit3828cdb43ee47f03dcc91dbb9a59527a1782a5a4
treee3832b0c81fc26bfa4105041b39fe177d617b7e7
parent25012b261da7234c35d7e25e7ebac0a6f8c4e71f
net: dsa: dsa_legacy_fdb_{add,del} can be static

Introduced in commit 2ef4236cffea ("net: dsa: Move FDB add/del
implementation inside DSA") in net/dsa/legacy.c, these functions were
moved again to slave.c as part of commit 5ac990e47c62 ("net: dsa: Allow
compiling out legacy support"), before actually deleting net/dsa/slave.c
in 0820904404b2 ("net: dsa: Remove legacy probing support"). Along with
that movement there should have been a deletion of the prototypes from
dsa_priv.h, they are not useful.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210108233054.1222278-1-olteanv@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dsa/dsa_priv.h
net/dsa/slave.c