diff options
Diffstat (limited to 'drivers/parisc/led.c')
| -rw-r--r-- | drivers/parisc/led.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c index 453e6829756c..3df82fe9ce8c 100644 --- a/drivers/parisc/led.c +++ b/drivers/parisc/led.c | |||
| @@ -373,8 +373,6 @@ static __inline__ int led_get_net_activity(void) | |||
| 373 | if (LOOPBACK(in_dev->ifa_list->ifa_local)) | 373 | if (LOOPBACK(in_dev->ifa_list->ifa_local)) |
| 374 | continue; | 374 | continue; |
| 375 | stats = dev->get_stats(dev); | 375 | stats = dev->get_stats(dev); |
| 376 | if (!stats) | ||
| 377 | continue; | ||
| 378 | rx_total += stats->rx_packets; | 376 | rx_total += stats->rx_packets; |
| 379 | tx_total += stats->tx_packets; | 377 | tx_total += stats->tx_packets; |
| 380 | } | 378 | } |
