[NET]: Remove NETIF_F_INTERNAL_STATS, default to internal stats.
[firefly-linux-kernel-4.4.55.git] / drivers / parisc / led.c
index 453e6829756c479a9fdd50ddc6c2bd2024536542..3df82fe9ce8cbf7acb80d7581709f6cdcbcb33f5 100644 (file)
@@ -373,8 +373,6 @@ static __inline__ int led_get_net_activity(void)
            if (LOOPBACK(in_dev->ifa_list->ifa_local))
                continue;
            stats = dev->get_stats(dev);
-           if (!stats)
-               continue;
            rx_total += stats->rx_packets;
            tx_total += stats->tx_packets;
        }