diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-11-08 15:06:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-08 17:22:24 -0800 |
commit | 9168f5ae3837dd98cb201d16f813c6f1d96670ca (patch) | |
tree | ec2a46e592cf07a25c93ce3e1e84df25af117893 /arch/parisc/kernel | |
parent | 4fa55fa94f55f5bc31472e8b96b9846bc191eaf8 (diff) |
s390/qeth: remove unused fallback in Layer3's MAC code
If the CREATE ADDR sent by qeth_l3_iqd_read_initial_mac() fails, its
callback sets a random MAC address on the net_device. The error then
propagates back, and qeth_l3_setup_netdev() bails out without
registering the net_device.
Any subsequent call to qeth_l3_setup_netdev() will then attempt a fresh
CREATE ADDR which either 1) also fails, or 2) sets a proper MAC address
on the net_device. Consequently, the net_device will never be registered
with a random MAC and we can drop the fallback code.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/parisc/kernel')
0 files changed, 0 insertions, 0 deletions