summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-03-16 17:11:11 +0100
committerDaniel Borkmann <dborkman@redhat.com>2013-03-16 17:11:11 +0100
commit3211183734562908e4f250cc2dd1a177e3c170b1 (patch)
treed4ea7033b33b12ff6b34eb7089d2a5e33bfeec53 /ifpps.c
parent99c9e3033abe511190bcf86c9d7578c6d8026b85 (diff)
misc: remove dead/unreachable code from switch statements
Remove various unreachable sections from the switch statements. This was detected by the coverty scanner. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ifpps.c b/ifpps.c
index 517ee23..d7a7c0e 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -271,8 +271,6 @@ static int stats_proc_softirqs(struct ifstat *stats)
case softirqs_net_rx:
stats->irqs_srx[i] = strtol(ptr, &ptr, 10);
break;
- default:
- bug();
}
}