On Thu, 9 Oct 2025 16:46:23 +0530 [email protected] wrote: > +int > +enetc4_tx_queue_setup(struct rte_eth_dev *dev, > + uint16_t queue_idx, > + uint16_t nb_desc, > + unsigned int socket_id __rte_unused, > + const struct rte_eth_txconf *tx_conf) > +{ > + int err = 0;
Unnecessary initialization. Don't see where err is used except after malloc failure (goto fail). Better to not initialize if not needed so compiler can generate warnings.

