diff options
author | Mario Limonciello <mario.limonciello@dell.com> | 2019-04-04 13:46:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-06 18:21:46 -0700 |
commit | 78fdde30d4bd3175f77bcdfc1bb18f96e3dedef0 (patch) | |
tree | fbf4164a0e99fbf3566b26f7f930f6aef078d6c7 /drivers/net | |
parent | d1edc085559744fbda7a55e97eeae8bd6135a11b (diff) |
r8152: remove extra action copying ethernet address
This already happens later on in `rtl8152_set_mac_address`
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/usb/r8152.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 86c8c64fbb0f..dc1bfff0b5dc 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c @@ -1212,7 +1212,6 @@ static int vendor_mac_passthru_addr_read(struct r8152 *tp, struct sockaddr *sa) goto amacout; } memcpy(sa->sa_data, buf, 6); - ether_addr_copy(tp->netdev->dev_addr, sa->sa_data); netif_info(tp, probe, tp->netdev, "Using pass-thru MAC addr %pM\n", sa->sa_data); |