aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2021-10-04 19:14:45 +0000
committerDavid S. Miller <[email protected]>2021-10-05 12:15:35 +0000
commite04ffd120f3c9818e56fc16f88d715508d7cd283 (patch)
treea79af90b0d9572bc376c7e4e5ef63604dae493d5 /drivers/net/ethernet/intel/igc/igc_main.c
parentmlx4: replace mlx4_u64_to_mac() with u64_to_ether_addr() (diff)
downloadkernel-e04ffd120f3c9818e56fc16f88d715508d7cd283.tar.gz
kernel-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 <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions