qeth: remove WARN_ON leftover
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 15 Nov 2011 02:31:13 +0000 (02:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2011 22:28:04 +0000 (17:28 -0500)
The patch "qeth: exploit asynchronous delivery of storage blocks"
added a WARN_ON in qeth_schedule_recovery. A device recovery should
not cause a kernel warning. This is obviously a debugging  left-over
that we forgot to remove.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c

index 81534437373a3c1209c914db4fb2a32d45860e44..fff57de78943c6d55cda3ece38a22f69bcda76b1 100644 (file)
@@ -881,7 +881,6 @@ EXPORT_SYMBOL_GPL(qeth_do_run_thread);
 void qeth_schedule_recovery(struct qeth_card *card)
 {
        QETH_CARD_TEXT(card, 2, "startrec");
-       WARN_ON(1);
        if (qeth_set_thread_start_bit(card, QETH_RECOVER_THREAD) == 0)
                schedule_work(&card->kernel_thread_starter);
 }