diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/appldata/appldata_net_sum.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/s390/appldata/appldata_net_sum.c b/arch/s390/appldata/appldata_net_sum.c index 516b3ac9a9b5..a43f3488fecf 100644 --- a/arch/s390/appldata/appldata_net_sum.c +++ b/arch/s390/appldata/appldata_net_sum.c | |||
@@ -109,9 +109,6 @@ static void appldata_get_net_sum_data(void *data) | |||
109 | read_lock(&dev_base_lock); | 109 | read_lock(&dev_base_lock); |
110 | for (dev = dev_base; dev != NULL; dev = dev->next) { | 110 | for (dev = dev_base; dev != NULL; dev = dev->next) { |
111 | stats = dev->get_stats(dev); | 111 | stats = dev->get_stats(dev); |
112 | if (stats == NULL) { | ||
113 | continue; | ||
114 | } | ||
115 | rx_packets += stats->rx_packets; | 112 | rx_packets += stats->rx_packets; |
116 | tx_packets += stats->tx_packets; | 113 | tx_packets += stats->tx_packets; |
117 | rx_bytes += stats->rx_bytes; | 114 | rx_bytes += stats->rx_bytes; |