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)
commit1dbb130281c447fdd061475931e1eb7baf475f53
treea1354208c145fbbc9694a024016741a022a21e3a
parent1593cd40d785387bf360aa85838d6f9d348a7cbc
net: dsa: remove the DSA specific notifiers

This effectively reverts commit 60724d4bae14 ("net: dsa: Add support for
DSA specific notifiers"). The reason is that since commit 2f1e8ea726e9
("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