summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ifpps.c b/ifpps.c
index d7a7c0e..f52a10b 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -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)