* [dpdk-dev] [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-dev] [PATCH] net/vmxnet3: remove unused variable attribute
2019-09-13 18:49 [dpdk-dev] [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-dev] [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, other threads:[~2019-09-13 18:54 UTC | newest]
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-dev] [PATCH] net/vmxnet3: remove unused variable attribute Ferruh Yigit
2019-09-13 18:51 ` Yong Wang
2019-09-13 18:53 ` Ferruh Yigit
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).