]> granicus.if.org Git - sysstat/commitdiff
Remove dead code in rd_stats.c
authorSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 26 Dec 2017 15:25:11 +0000 (16:25 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 26 Dec 2017 15:25:11 +0000 (16:25 +0100)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
rd_stats.c

index 118984477f09ece12ea2ef3e4b6396026b551c62..89350c3de43be4a86195129c5d6d9d1428ba5cd1 100644 (file)
@@ -211,13 +211,6 @@ __nr_t read_stat_irq(struct stats_irq *st_irq, __nr_t nr_alloc)
                        while ((i > 0) && (pos < sizeof(line)));
 
                        break;
-#if 0
-                       for (i = 1; i < nbr; i++) {
-                               st_irq_i = st_irq + i;
-                               sscanf(line + pos, " %llu", &st_irq_i->irq_nr);
-                               pos += strcspn(line + pos + 1, " ") + 1;
-                       }
-#endif
                }
        }