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

Frank Heimes frank.heimes at canonical.com
Wed Nov 7 18:24:18 UTC 2018


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

---

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");
                QETH_CARD_TEXT_(card, 2, "  rc%d", -EIO);



More information about the kernel-team mailing list