summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/xscale
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-04 12:14:45 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-05 13:15:35 +0100
commite04ffd120f3c9818e56fc16f88d715508d7cd283 (patch)
treea79af90b0d9572bc376c7e4e5ef63604dae493d5 /drivers/net/ethernet/xscale
parent1bb96a07f9a8f2fe9725f6689605e32b75d20508 (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>
Diffstat (limited to 'drivers/net/ethernet/xscale')
0 files changed, 0 insertions, 0 deletions