]> 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)
commit64d98d1556a1e5e48cc6b12e4261fb608c74bfc1
tree1b875cf24286b56c6ffd6c6e5a57e5f6b8aa4109
parente4129cc7502ecaf1e6ec30e04f7cfdea26d299ba
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