On Tue, 24 Feb 2015 00:55:37 +0800
Zhou Danny <danny.zhou at intel.com> wrote:

> +int
> +rte_eth_dev_rx_queue_intr_enable(uint8_t port_id,
> +                             uint16_t queue_id)
> +{
> +     struct rte_eth_dev *dev;
> +
> +     if (port_id >= nb_ports) {
> +             PMD_DEBUG_TRACE("Invalid port_id=%d\n", port_id);
> +             return (-ENODEV);

Please don't use the BSD style of extra useless paren's around
returns.

Reply via email to