net/vmxnet3: remove unused variable attribute
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Sep 2019 18:49:10 +0000 (19:49 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:52 +0000 (15:00 +0200)
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

index 551c511..3ed34f8 100644 (file)
@@ -1150,7 +1150,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;