]> granicus.if.org Git - sysstat/commitdiff
svg_stats.c: Remove some dead code
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 22 Jan 2021 17:55:41 +0000 (18:55 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 22 Jan 2021 17:55:41 +0000 (18:55 +0100)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
svg_stats.c

index 492a23cce020cbf74261ccb8982224e3f120cd9b..67a55143ab05e26ab47a8c41cf0bff9c13d6e096 100644 (file)
@@ -2596,10 +2596,6 @@ __print_funct_t svg_print_net_edev_stats(struct activity *a, int curr, int actio
                        snedc = (struct stats_net_edev *) ((char *) a->buf[curr] + i * a->msize);
                        restart = svg_p->restart;
 
-                       if (!strcmp(snedc->interface, ""))
-                               /* Empty structure: This is the end of the list */
-                               break;
-
                        if (a->item_list != NULL) {
                                /* A list of devices has been entered on the command line */
                                if (!search_list_item(a->item_list, snedc->interface))