diff options
| author | 2021-10-04 12:14:45 -0700 | |
|---|---|---|
| committer | 2021-10-05 13:15:35 +0100 | |
| commit | e04ffd120f3c9818e56fc16f88d715508d7cd283 (patch) | |
| tree | a79af90b0d9572bc376c7e4e5ef63604dae493d5 /include | |
| parent | mlx4: replace mlx4_u64_to_mac() with u64_to_ether_addr() (diff) | |
| download | linux-dev-e04ffd120f3c9818e56fc16f88d715508d7cd283.tar.xz linux-dev-e04ffd120f3c9818e56fc16f88d715508d7cd283.zip | |
mlx4: remove custom dev_addr clearing
mlx4_en_u64_to_mac() takes the dev->dev_addr pointer and writes
to it byte by byte. It also clears the two bytes _after_ ETH_ALEN
which seems unnecessary. dev->addr_len is set to ETH_ALEN just
before the call.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
