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

Message ID 1507915235-2685-1-git-send-email-nic@opencloud.tech (mailing list archive)
State Accepted, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

nickcooper-zhangtonghao Oct. 13, 2017, 5:20 p.m. UTC
  Signed-off-by: Tonghao Zhang <nic@opencloud.tech>
---
 examples/l3fwd-power/main.c | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Thomas Monjalon Oct. 13, 2017, 10:45 p.m. UTC | #1
13/10/2017 19:20, Tonghao Zhang:
> Signed-off-by: Tonghao Zhang <nic@opencloud.tech>
> ---
>  examples/l3fwd-power/main.c | 2 --
>  1 file changed, 2 deletions(-)

Applied, thanks
  

Patch

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