From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpbgsg2.qq.com (smtpbgsg2.qq.com [54.254.200.128]) by dpdk.org (Postfix) with ESMTP id 444181B72B for ; Fri, 13 Oct 2017 19:20:53 +0200 (CEST) X-QQ-mid: bizesmtp14t1507915248twiqz6j8 Received: from local.opencloud.tech.localdomai (unknown [223.21.161.48]) by esmtp4.qq.com (ESMTP) with id ; Sat, 14 Oct 2017 01:20:40 +0800 (CST) X-QQ-SSF: 01100000002000F0FG90B00A0000000 X-QQ-FEAT: uLC2yWZT8bGYiPQFLcqkSSAd2NG6iQm2yBBWrykLR6Lc29Ka//cfY4PAVj2oG BQUNe4JlnwhghCpNtetbVg2cysl51ESI+AiPxejBhA7oLPSmeeKjelta88PRtXnXqsqmcoU XB1jG/rvPaDJs2EBTSR3/bx5v0gvlMRJ15kBEcnJrt2xqY6P1qhJv/37Lw0SREgRSwG/L43 o2erfEA2D7xh0Pr7zaC+kYNYZsYyTZaiwps3ErNsdMqIvZnZPTVKiH3DfSXOYRiXMK1G4nj Uu4kOZdK+IzcYo X-QQ-GoodBg: 0 From: Tonghao Zhang To: dev@dpdk.org Cc: Tonghao Zhang Date: Fri, 13 Oct 2017 10:20:35 -0700 Message-Id: <1507915235-2685-1-git-send-email-nic@opencloud.tech> X-Mailer: git-send-email 1.8.3.1 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:opencloud.tech:qybgforeign:qybgforeign2 X-QQ-Bgrelay: 1 Subject: [dpdk-dev] [PATCH] l3fwd-power: remove the dead codes. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2017 17:20:55 -0000 Signed-off-by: Tonghao Zhang --- 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