From: David Ahern <[email protected]>
Date: Mon, 10 Aug 2015 11:50:28 -0600
> +static inline int vrf_dev_table(const struct net_device *dev)
> +{
> + int tb_id = 0;
> +
> + rcu_read_lock();
> + tb_id = vrf_dev_table_rcu(dev);
> + rcu_read_unlock();
> +
> + return tb_id;
> +}
The initialization of "tb_id" to zero in the variable declaration is
unnecessary, please remove it.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html