]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: remove HARDSETUP state
authorJulian Wiedmann <jwi@linux.ibm.com>
Sat, 25 Jan 2020 15:53:03 +0000 (16:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Jan 2020 14:20:32 +0000 (15:20 +0100)
commitf34d3a68134ae08e6cd10f492ba22c774eb4b08b
tree1b875cf24286b56c6ffd6c6e5a57e5f6b8aa4109
parente1cf0edf4d2ca50378bb3909d3c259b2a3815dcd
s390/qeth: remove HARDSETUP state

qeth_l?_stop_card() is _never_ called while in HARDSETUP state, and
there's no other usage of the card state that relies on the
DOWN -> HARDSETUP -> SOFTSETUP transition.

As related cleanup, remove the check in qeth_realloc_buffer_pool() as it
is already done by the callers.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_core_main.c
drivers/s390/net/qeth_core_sys.c
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c