examples/l3fwd-power: remove dead code
authorTonghao Zhang <nic@opencloud.tech>
Fri, 13 Oct 2017 17:20:35 +0000 (10:20 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 22:47:36 +0000 (00:47 +0200)
Signed-off-by: Tonghao Zhang <nic@opencloud.tech>
examples/l3fwd-power/main.c

index a505e91..66ed687 100644 (file)
@@ -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