On Fri, 26 Jun 2015 21:19:05 -0400
Liang-Min Larry Wang <liang-min.wang at intel.com> wrote:

> +static int
> +ixgbe_get_reg_length(struct rte_eth_dev *dev __rte_unused)
> +{
> +     struct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private)

The dev arg is used, and therefore should not be marked __rte_unused.

Reply via email to