[SRU,Cosmic,Bionic,3/6] s390/qeth: remove outdated portname debug msg

Message ID CA+jPhpeH2nAZXYF1RyM86fYn7742LGM9HuAs3cfkK2uJEVTVCw@mail.gmail.com
State New
Headers show
Series
  • Fixes for LP1797367
Related show

Commit Message

Frank Heimes Nov. 7, 2018, 6:24 p.m.
From: Julian Wiedmann <jwi@linux.vnet.ibm.com>

BugLink: http://bugs.launchpad.net/bugs/1797367

s390/qeth: remove outdated portname debug msg

The 'portname' attribute is deprecated and setting it has no effect.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry-picked from commit d857e11193a24d6623bb562e9b26cde582bd877f)
Signed-off-by: Frank Heimes <frank.heimes@canonical.com>

---

                QETH_CARD_TEXT_(card, 2, "  rc%d", -EIO);

Patch

diff --git a/drivers/s390/net/qeth_core_main.c
b/drivers/s390/net/qeth_core_main.c
index d4cb0ee..d884b39 100644
--- a/drivers/s390/net/qeth_core_main.c
+++ b/drivers/s390/net/qeth_core_main.c
@@ -708,11 +708,8 @@  static int qeth_check_idx_response(struct qeth_card *card,

        QETH_DBF_HEX(CTRL, 2, buffer, QETH_DBF_CTRL_LEN);
        if ((buffer[2] & 0xc0) == 0xc0) {
-               QETH_DBF_MESSAGE(2, "received an IDX TERMINATE "
-                          "with cause code 0x%02x%s\n",
-                          buffer[4],
-                          ((buffer[4] == 0x22) ?
-                           " -- try another portname" : ""));
+               QETH_DBF_MESSAGE(2, "received an IDX TERMINATE with
cause code %#02x\n",
+                                buffer[4]);
                QETH_CARD_TEXT(card, 2, "ckidxres");
                QETH_CARD_TEXT(card, 2, " idxterm");