net/bnxt: drop unused attribute
Remove "__rte_unused" instances that are wrongly marked. Fixes:6dc83230b4
("net/bnxt: support port representor data path") Fixes:1bf01f5135
("net/bnxt: prevent device access when device is in reset") Cc: stable@dpdk.org Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
This commit is contained in:
parent
ad82838e3c
commit
4f28d9a1a6
@ -104,7 +104,7 @@ bnxt_rep_rx_burst(void *rx_queue,
|
||||
static uint16_t
|
||||
bnxt_rep_tx_burst(void *tx_queue,
|
||||
struct rte_mbuf **tx_pkts,
|
||||
__rte_unused uint16_t nb_pkts)
|
||||
uint16_t nb_pkts)
|
||||
{
|
||||
struct bnxt_vf_rep_tx_queue *vfr_txq = tx_queue;
|
||||
struct bnxt_tx_queue *ptxq;
|
||||
@ -548,7 +548,7 @@ int bnxt_rep_dev_info_get_op(struct rte_eth_dev *eth_dev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
int bnxt_rep_dev_configure_op(__rte_unused struct rte_eth_dev *eth_dev)
|
||||
int bnxt_rep_dev_configure_op(struct rte_eth_dev *eth_dev)
|
||||
{
|
||||
struct bnxt_representor *rep_bp = eth_dev->data->dev_private;
|
||||
|
||||
|
@ -12,7 +12,7 @@ void bnxt_free_stats(struct bnxt *bp);
|
||||
int bnxt_stats_get_op(struct rte_eth_dev *eth_dev,
|
||||
struct rte_eth_stats *bnxt_stats);
|
||||
int bnxt_stats_reset_op(struct rte_eth_dev *eth_dev);
|
||||
int bnxt_dev_xstats_get_names_op(__rte_unused struct rte_eth_dev *eth_dev,
|
||||
int bnxt_dev_xstats_get_names_op(struct rte_eth_dev *eth_dev,
|
||||
struct rte_eth_xstat_name *xstats_names,
|
||||
__rte_unused unsigned int limit);
|
||||
int bnxt_dev_xstats_get_op(struct rte_eth_dev *eth_dev,
|
||||
|
Loading…
Reference in New Issue
Block a user