summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTonghao Zhang <nic@opencloud.tech>2017-10-13 10:20:35 -0700
committerThomas Monjalon <thomas@monjalon.net>2017-10-14 00:47:36 +0200
commit0671e432d757730414d81f8e03fea699bfd4a92a (patch)
tree43873a6a2d145d6f639ff9096d8fc1fc5bdc3080
parentab9cfe43c28efb3576396e7133af64b25b8785f3 (diff)
downloaddpdk-0671e432d757730414d81f8e03fea699bfd4a92a.zip
dpdk-0671e432d757730414d81f8e03fea699bfd4a92a.tar.gz
dpdk-0671e432d757730414d81f8e03fea699bfd4a92a.tar.xz
examples/l3fwd-power: remove dead code
Signed-off-by: Tonghao Zhang <nic@opencloud.tech>
-rw-r--r--examples/l3fwd-power/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index a505e91..66ed687 100644
--- a/examples/l3fwd-power/main.c
+++ b/examples/l3fwd-power/main.c
@@ -752,8 +752,6 @@ power_idle_heuristic(uint32_t zero_rx_packet_count)
*/
else
return SUSPEND_THRESHOLD;
-
- return 0;
}
static inline enum freq_scale_hint_t