]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: remove the DSA specific notifiers
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 7 Jan 2021 01:24:03 +0000 (03:24 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 7 Jan 2021 23:42:07 +0000 (15:42 -0800)
commitfe5f04f68cf42450e1bb57cf49679b4b8ca46fcc
treea1354208c145fbbc9694a024016741a022a21e3a
parenta2a7445fe2f4d9774a7bcfaa12815a18f43edc7c
net: dsa: remove the DSA specific notifiers

This effectively reverts commit dfa1e5d77c79 ("net: dsa: Add support for
DSA specific notifiers"). The reason is that since commit 6a3226035fc2
("net: dsa: link interfaces with the DSA master to get rid of lockdep
warnings"), it appears that there is a generic way to achieve the same
purpose. The only user thus far, the Broadcom SYSTEMPORT driver, was
converted to use the generic notifiers.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dsa.h
net/dsa/dsa.c
net/dsa/slave.c