commit | ad16087222262d7e66cc1ed3838264b84997323a | [log] [tgz] |
---|---|---|
author | Julian Wiedmann <jwi@linux.ibm.com> | Tue Jun 11 18:37:50 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 13 22:39:31 2019 -0700 |
tree | 0aa3f0928f601d77484f9bf956947f03bcb464da | |
parent | 4e2fe4edcabe50b4fe82dcae5c0daca2109df1a9 [diff] |
s390/qeth: simplify DOWN state handling When the tear down sequence in qeth_l?_stop_card() has finished, the card is guaranteed to be in DOWN state and we don't have to check for it again. With this insight we can also remove the redundant setting of card->state in qeth_l?_set_online()'s error path. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>