commit | e04ffd120f3c9818e56fc16f88d715508d7cd283 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Mon Oct 04 12:14:45 2021 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 05 13:15:35 2021 +0100 |
tree | a79af90b0d9572bc376c7e4e5ef63604dae493d5 | |
parent | 1bb96a07f9a8f2fe9725f6689605e32b75d20508 [diff] |
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>