DPDK patches and discussions
 help / color / Atom feed
From: Yong Wang <yongwang@vmware.com>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] net/vmxnet3: remove unused variable attribute
Date: Fri, 13 Sep 2019 18:51:27 +0000
Message-ID: <070A02AE-4935-4726-88D2-EAE150CF574D@vmware.com> (raw)
In-Reply-To: <20190913184910.26085-1-ferruh.yigit@intel.com>

-----Original Message-----
From: Ferruh Yigit <ferruh.yigit@intel.com>
Date: Friday, September 13, 2019 at 11:49 AM
To: Yong Wang <yongwang@vmware.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "stable@dpdk.org" <stable@dpdk.org>
Subject: [PATCH] net/vmxnet3: remove unused variable attribute

    No functional change, just removing unused variable tag from a used
    variable.
    
    Fixes: 643fba770705 ("net/vmxnet3: add v4 boot and guest UDP RSS config")
    Cc: stable@dpdk.org
    
    Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
    ---

Acked-By: Yong Wang <yongwang@vmware.com>

     drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c
    index 0cae08f63..7bf86122a 100644
    --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c
    +++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c
    @@ -1152,7 +1152,7 @@ vmxnet3_dev_stats_reset(struct rte_eth_dev *dev)
     }
     
     static int
    -vmxnet3_dev_info_get(struct rte_eth_dev *dev __rte_unused,
    +vmxnet3_dev_info_get(struct rte_eth_dev *dev,
     		     struct rte_eth_dev_info *dev_info)
     {
     	struct vmxnet3_hw *hw = dev->data->dev_private;
    -- 
    2.21.0
    
    


  reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-13 18:49 Ferruh Yigit
2019-09-13 18:51 ` Yong Wang [this message]
2019-09-13 18:53   ` Ferruh Yigit

Reply instructions:

You may reply publically 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=070A02AE-4935-4726-88D2-EAE150CF574D@vmware.com \
    --to=yongwang@vmware.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=stable@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

DPDK patches and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox