Skip to content

Commit

Permalink
iflist: remove ethtool stats collection
Browse files Browse the repository at this point in the history
Rework/Re-enable for SP1. For now we have link stats.
  • Loading branch information
kmroz committed Jul 10, 2014
1 parent 07a32a8 commit ca44083
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/iflist.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,9 +787,6 @@ __ni_process_ifinfomsg_linkinfo(ni_linkinfo_t *link, const char *ifname,
} else if (!strcmp(driver, "802.1Q VLAN Support")) {
tmp_link_type = NI_IFTYPE_VLAN;
}

if (drv_info.n_stats != 0 && link->ethtool_stats == NULL)
link->ethtool_stats = __ni_ethtool_stats_init(ifname, &drv_info);
}

break;
Expand Down

0 comments on commit ca44083

Please sign in to comment.