net: dsa: remove lockdep class for DSA master address list
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 10 Feb 2022 13:44:59 +0000 (15:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Feb 2022 11:17:32 +0000 (11:17 +0000)
commit8db2bc790d20d4b270dc32651dd191b767bde5f1
tree1dd420a0712ac7b6e6c30085cf05a0fe459c6d57
parent45b987d5edf2274579e6ff82ebc7435bc346ae7a
net: dsa: remove lockdep class for DSA master address list

Since commit 2f1e8ea726e9 ("net: dsa: link interfaces with the DSA
master to get rid of lockdep warnings"), suggested by Cong Wang, the
DSA interfaces and their master have different dev->nested_level, which
makes netif_addr_lock() stop complaining about potentially recursive
locking on the same lock class.

So we no longer need DSA masters to have their own lockdep class.

Cc: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/master.c