]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: dsa: Do not check for NULL dst in tag parsers
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 8 Apr 2017 15:55:21 +0000 (08:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Apr 2017 20:49:36 +0000 (13:49 -0700)
commit9d7f9c4f78e95dd9d17199a53d903262530be62e
tree261343d60e5e96e2b671c4fbb26524fbeca73829
parent7f564528a480084e2318cd48caba7aef4a54a77f
net: dsa: Do not check for NULL dst in tag parsers

dsa_switch_rcv() already tests for dst == NULL, so there is no need to duplicate
the same check within the tag receive functions.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_brcm.c
net/dsa/tag_dsa.c
net/dsa/tag_edsa.c
net/dsa/tag_mtk.c
net/dsa/tag_qca.c
net/dsa/tag_trailer.c