[dpdk-dev] [PATCH] l3fwd-power: remove the dead codes.

Tonghao Zhang nic at opencloud.tech
Fri Oct 13 19:20:35 CEST 2017


Signed-off-by: Tonghao Zhang <nic at opencloud.tech>
---
 examples/l3fwd-power/main.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index 8a8f34b..c08a775 100644
--- a/examples/l3fwd-power/main.c
+++ b/examples/l3fwd-power/main.c
@@ -752,8 +752,6 @@ static inline enum freq_scale_hint_t power_freq_scaleup_heuristic( \
 	*/
 	else
 		return SUSPEND_THRESHOLD;
-
-	return 0;
 }
 
 static inline enum freq_scale_hint_t
-- 
1.8.3.1






More information about the dev mailing list