diff options
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | 2017-08-15 17:02:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-15 10:58:39 -0700 |
commit | 7b1115bbb700c7e46923bbbf007c04f04230873c (patch) | |
tree | 5243f30b7cb7c81bc8233f99814a45b0813cf28c /tools/perf/scripts/python | |
parent | 886e1974dcc5866cbc3d133d1f3d2cc26af68cfc (diff) |
s390/qeth: remove extra L2 adapterparms query
qeth_l2_request_initial_mac() queries the device for its supported
adapterparms, even though they already have been queried as part of the
device's high-level setup. Remove that extra call.
The only call chain for qeth_l2_request_initial_mac() is
__qeth_l2_set_online()
qeth_core_hardsetup_card()
qeth_query_setadapterparms()
qeth_l2_setup_netdev()
qeth_l2_request_initial_mac()
qeth_query_setadapterparms()
, and we only reach qeth_l2_request_initial_mac() if the first
adapterparms query succeeds. Hence removing the second query results in
no loss of functionality.
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Acked-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions