]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: clean up drop conditions for received cmds
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 26 Sep 2018 16:29:15 +0000 (18:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Sep 2018 16:56:07 +0000 (09:56 -0700)
commit6cc1d905360705c8e53013377aba54e51d6bc5fa
treefda176cd4a42a6483d1b624ded93f96e41356560
parentbff6a10ac6e64b33c8fa8f5a69cb08db3795e4a3
s390/qeth: clean up drop conditions for received cmds

If qeth_check_ipa_data() consumed an event, there's no point in
processing it further. So drop it early, and make the surrounding code
a tiny bit more readable.

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