diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-03-16 17:39:12 +0100 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-03-16 17:39:12 +0100 |
commit | 7a3b0f2226f7ad5f5ba20bcab5ef0f5c2b75e17d (patch) | |
tree | b20ab65c3dc989da3a0718e48a37907d1be10086 /ifpps.c | |
parent | 714868559b381722637ac7bcad0c510e7f48dfe2 (diff) |
ifpps: remove state from enum, since never used
We do not assign or use this particular state, so just remove it from
the enum. We continue anyway in the while loop in that case.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'ifpps.c')
-rw-r--r-- | ifpps.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -241,8 +241,7 @@ static int stats_proc_softirqs(struct ifstat *stats) enum { softirqs_net_rx, softirqs_net_tx, - softirqs_net_none, - } net_type = softirqs_net_none; + } net_type; fp = fopen("/proc/softirqs", "r"); if (!fp) |