]> git.baikalelectronics.ru Git - kernel.git/commitdiff
s390/qeth: consume local address events
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 26 Sep 2018 16:29:13 +0000 (18:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Sep 2018 16:56:07 +0000 (09:56 -0700)
We have no code that is waiting for these events, so just drop them when
they arrive.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c

index 5a2b90677235918f36d5e64ffdf2edb66d61c576..880c15647442a4e8072a1d14b37aa5d8e0de9739 100644 (file)
@@ -688,10 +688,10 @@ static struct qeth_ipa_cmd *qeth_check_ipa_data(struct qeth_card *card,
                                return cmd;
                        case IPA_CMD_REGISTER_LOCAL_ADDR:
                                QETH_CARD_TEXT(card, 3, "irla");
-                               break;
+                               return NULL;
                        case IPA_CMD_UNREGISTER_LOCAL_ADDR:
                                QETH_CARD_TEXT(card, 3, "urla");
-                               break;
+                               return NULL;
                        default:
                                QETH_DBF_MESSAGE(2, "Received data is IPA "
                                           "but not a reply!\n");