[dpdk-dev] [PATCH] net/vmxnet3: remove unused variable attribute

Yong Wang yongwang at vmware.com
Fri Sep 13 20:51:27 CEST 2019

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

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

Acked-By: Yong Wang <yongwang at 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;

More information about the dev mailing list