diff options
| author | Michal Schmidt <[email protected]> | 2023-10-18 11:15:27 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-10-19 11:23:14 +0000 |
| commit | a0e6323dbae6e96af5d1acbc8bb592b56f96c65e (patch) | |
| tree | eedae9afac61a1c4de7eddfff077a55092592ae6 /net/unix/unix_bpf.c | |
| parent | inet: lock the socket in ip_sock_set_tos() (diff) | |
| download | kernel-a0e6323dbae6e96af5d1acbc8bb592b56f96c65e.tar.gz kernel-a0e6323dbae6e96af5d1acbc8bb592b56f96c65e.zip | |
iavf: delete unused iavf_mac_info fields
'san_addr' and 'mac_fcoeq' members of struct iavf_mac_info are unused.
'type' is write-only. Delete all three.
The function iavf_set_mac_type that sets 'type' also checks if the PCI
vendor ID is Intel. This is unnecessary. Delete the whole function.
If in the future there's a need for the MAC type (or other PCI
ID-dependent data), I would prefer to use .driver_data in iavf_pci_tbl[]
for this purpose.
Signed-off-by: Michal Schmidt <[email protected]>
Reviewed-by: Wojciech Drewek <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
