diff options
| author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-06-01 16:07:13 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-06-01 17:34:56 -0400 |
| commit | 717ffbfb28ac2b53d3140b2a7dfd345e1569b3a5 (patch) | |
| tree | 82020f333943f02ea6e8307c3538ae69817decd0 /net/dsa/tag_dsa.c | |
| parent | net: dsa: do not cast dst (diff) | |
| download | linux-717ffbfb28ac2b53d3140b2a7dfd345e1569b3a5.tar.gz linux-717ffbfb28ac2b53d3140b2a7dfd345e1569b3a5.zip | |
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>
Diffstat (limited to 'net/dsa/tag_dsa.c')
0 files changed, 0 insertions, 0 deletions
