diff options
author | 2018-06-22 20:17:52 -0700 | |
---|---|---|
committer | 2018-06-23 20:52:09 +0900 | |
commit | 6ab91e47694e03775bbe874fa8f15f84db404c00 (patch) | |
tree | b3f6b5de516c8eff7795ab10b2e79fc7167711f4 /net/xfrm/xfrm_output.c | |
parent | net: pch_gbe: Use module_pci_driver() (diff) | |
download | wireguard-linux-6ab91e47694e03775bbe874fa8f15f84db404c00.tar.xz wireguard-linux-6ab91e47694e03775bbe874fa8f15f84db404c00.zip |
net: pch_gbe: Inline pch_gbe_mac_mc_addr_list_update
The pch_gbe driver sets up multicast address filters using a convoluted
mechanism by which pch_gbe_set_multi allocates an array to hold
multicast addresses, copies desired addresses into that array, calls a
pch_gbe_mac_mc_addr_list_update function which copies addresses out of
that array into MAC registers, then frees the array.
This patch simplifies this somewhat by inlining
pch_gbe_mac_mc_addr_list_update into pch_gbe_set_multi, and removing the
requirement for the MAC addresses to stored consecutively in a single
array.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_output.c')
0 files changed, 0 insertions, 0 deletions