qeth: use qeth_card_hw_is_reachable() everywhere
authorEugene Crosser <Eugene.Crosser@ru.ibm.com>
Fri, 16 Jan 2015 13:05:47 +0000 (14:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jan 2015 04:54:59 +0000 (23:54 -0500)
commitc3521254b16dbd270e194f81aa2cbdbcd6cc9f18
tree3cf4eee432adc7f9e35c88b32f93185005eceab3
parentb646c08e12c1879e1cfb94d3875e62024b706c4a
qeth: use qeth_card_hw_is_reachable() everywhere

qeth_card_hw_is_reachable() was introduced as part of a new
functionality, but it is a useful abstraction that can replace
verbose checks througout the rest of the `qeth` driver.

Signed-off-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Reviewed-by: Thomas-Mich Richter <tmricht@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_sys.c
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c
drivers/s390/net/qeth_l3_sys.c