DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Qi Zhang <qi.z.zhang@intel.com>
Cc: thomas@monjalon.net, declan.doherty@intel.com,
	ferruh.yigit@intel.com, ktraynor@redhat.com,
	sthemmin@microsoft.com, dev@dpdk.org,
	benjamin.h.shelton@intel.com, narender.vangati@intel.com
Subject: Re: [dpdk-dev] [PATCH] ethdev: claim device reset as async
Date: Wed, 20 Mar 2019 08:32:04 -0700	[thread overview]
Message-ID: <20190320083204.4f9f72b4@shemminger-XPS-13-9360> (raw)
In-Reply-To: <20190320045403.14594-1-qi.z.zhang@intel.com>

On Wed, 20 Mar 2019 12:54:03 +0800
Qi Zhang <qi.z.zhang@intel.com> wrote:

> +	ret = rte_ctrl_thread_create(&tid, pthread_name, NULL,
> +					do_dev_reset, args);
> +
> +	return ret;

combine the ret = and return (ie make it a tail call)

  parent reply	other threads:[~2019-03-20 15:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-20  4:54 Qi Zhang
2019-03-20  4:54 ` Qi Zhang
2019-03-20 15:32 ` Stephen Hemminger [this message]
2019-03-20 15:32   ` Stephen Hemminger
2019-04-04 22:01 ` Thomas Monjalon
2019-04-04 22:01   ` Thomas Monjalon
2019-04-05  8:15   ` Andrew Rybchenko
2019-04-05  8:15     ` Andrew Rybchenko

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=20190320083204.4f9f72b4@shemminger-XPS-13-9360 \
    --to=stephen@networkplumber.org \
    --cc=benjamin.h.shelton@intel.com \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=ktraynor@redhat.com \
    --cc=narender.vangati@intel.com \
    --cc=qi.z.zhang@intel.com \
    --cc=sthemmin@microsoft.com \
    --cc=thomas@monjalon.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).