diff options
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | 2017-08-15 17:02:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-15 19:58:39 +0200 |
commit | 699d3fe53702e993af9bdafa70542d96d3f3ee5c (patch) | |
tree | 7df6bf3f8f4d8e785baea67716bb1924d934d7c8 /block | |
parent | s390/qeth: remove extra L2 adapterparms query (diff) | |
download | linux-699d3fe53702e993af9bdafa70542d96d3f3ee5c.tar.xz linux-699d3fe53702e993af9bdafa70542d96d3f3ee5c.zip |
s390/qeth: remove extra L3 adapterparms query
qeth_l3_setadapter_parms() queries the device for 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_l3_setadapter_parms() is
__qeth_l3_set_online()
qeth_core_hardsetup_card()
qeth_query_setadapterparms()
qeth_l3_setadapter_parms()
qeth_query_setadapterparms()
, and we only reach qeth_l3_setadapter_parms() 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 'block')
0 files changed, 0 insertions, 0 deletions