All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tonghao Zhang <nic@opencloud.tech>
To: dev@dpdk.org
Cc: Tonghao Zhang <nic@opencloud.tech>
Subject: [PATCH] l3fwd-power: remove the dead codes.
Date: Fri, 13 Oct 2017 10:20:35 -0700	[thread overview]
Message-ID: <1507915235-2685-1-git-send-email-nic@opencloud.tech> (raw)

Signed-off-by: Tonghao Zhang <nic@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

             reply	other threads:[~2017-10-13 17:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-13 17:20 Tonghao Zhang [this message]
2017-10-13 22:45 ` [PATCH] l3fwd-power: remove the dead codes Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1507915235-2685-1-git-send-email-nic@opencloud.tech \
    --to=nic@opencloud.tech \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.