patches for DPDK stable branches
 help / color / Atom feed
* [dpdk-stable] [PATCH] net/vmxnet3: remove unused variable attribute
@ 2019-09-13 18:49 Ferruh Yigit
  2019-09-13 18:51 ` Yong Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2019-09-13 18:49 UTC (permalink / raw)
  To: Yong Wang; +Cc: dev, stable

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>
---
 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [PATCH] net/vmxnet3: remove unused variable attribute
  2019-09-13 18:49 [dpdk-stable] [PATCH] net/vmxnet3: remove unused variable attribute Ferruh Yigit
@ 2019-09-13 18:51 ` Yong Wang
  2019-09-13 18:53   ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Yong Wang @ 2019-09-13 18:51 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev, stable

-----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
    
    


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [PATCH] net/vmxnet3: remove unused variable attribute
  2019-09-13 18:51 ` Yong Wang
@ 2019-09-13 18:53   ` Ferruh Yigit
  0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2019-09-13 18:53 UTC (permalink / raw)
  To: Yong Wang; +Cc: dev, stable

On 9/13/2019 7:51 PM, Yong Wang wrote:
> -----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>

Applied to dpdk-next-net/master, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-13 18:49 [dpdk-stable] [PATCH] net/vmxnet3: remove unused variable attribute Ferruh Yigit
2019-09-13 18:51 ` Yong Wang
2019-09-13 18:53   ` Ferruh Yigit

patches for DPDK stable branches

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/stable/0 stable/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 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable


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


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