[Intel-wired-lan] [net-next PATCH 2/3] ixgbe: Use __dev_uc_sync and __dev_uc_unsync for unicast addresses
Stephen Hemminger
stephen at networkplumber.org
Thu Nov 12 01:35:57 UTC 2015
On Thu, 22 Oct 2015 16:26:36 -0700
Alexander Duyck <aduyck at mirantis.com> wrote:
> +static int ixgbe_uc_unsync(struct net_device *netdev, const unsigned char *addr)
> +{
> + struct ixgbe_adapter *adapter = netdev_priv(netdev);
> +
> + ixgbe_del_mac_filter(adapter, addr, VMDQ_P(0));
> +
> + return 0;
Why add an internal function that always returns 0?
Rather than making it void.
More information about the Intel-wired-lan
mailing list