tag_lan9303.c does check for a NULL dst but that's already checked by
dsa_switch_rcv() one layer above.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
        struct dsa_switch *ds;
        unsigned int source_port;
 
-       if (unlikely(!dst)) {
-               dev_warn_ratelimited(&dev->dev, "Dropping packet, due to missing switch tree device\n");
-               return NULL;
-       }
-
        ds = dst->ds[0];
 
        if (unlikely(!ds)) {