diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-01 23:32:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-02 15:18:25 +0200 |
commit | e35b8d7dbb094c79daf920797c372911edc2d525 (patch) | |
tree | 2a7e6f183244075342c1f4602fc02e4406d7e157 /drivers/net/ethernet/broadcom | |
parent | net: usb: use eth_hw_addr_set() (diff) | |
download | linux-e35b8d7dbb094c79daf920797c372911edc2d525.tar.xz linux-e35b8d7dbb094c79daf920797c372911edc2d525.zip |
net: use eth_hw_addr_set() instead of ether_addr_copy()
Convert from ether_addr_copy() to eth_hw_addr_set():
@@
expression dev, np;
@@
- ether_addr_copy(dev->dev_addr, np)
+ eth_hw_addr_set(dev, np)
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
0 files changed, 0 insertions, 0 deletions