commit | 717ffbfb28ac2b53d3140b2a7dfd345e1569b3a5 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Thu Jun 01 16:07:13 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 01 17:34:56 2017 -0400 |
tree | 82020f333943f02ea6e8307c3538ae69817decd0 | |
parent | 02f840cbc9fa9ee147d882edb96b203999c3ac62 [diff] |
net: dsa: remove dsa_uses_tagged_protocol Since dev->dsa_ptr is a pointer to a dsa_switch_tree, there is no need to have another inline helper just to check rcv. Remove dsa_uses_tagged_protocol and check dsa_ptr && dsa_ptr->rcv together at the same time. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>