summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-09-26 18:29:13 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-26 18:56:07 +0200
commit68bba11643df934d6d3dba40f311b81f2c93fd8a (patch)
tree584b47f1da202fb6ac3e8a8dcb5aea86788b831b /drivers
parents390/qeth: remove various redundant code (diff)
downloadlinux-68bba11643df934d6d3dba40f311b81f2c93fd8a.tar.xz
linux-68bba11643df934d6d3dba40f311b81f2c93fd8a.zip
s390/qeth: consume local address events
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s390/net/qeth_core_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c
index 5a2b90677235..880c15647442 100644
--- a/drivers/s390/net/qeth_core_main.c
+++ b/drivers/s390/net/qeth_core_main.c
@@ -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");