s390/qeth: modernize two list helpers
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 25 Mar 2020 09:35:07 +0000 (10:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Mar 2020 19:07:16 +0000 (12:07 -0700)
commitbb59c8a89a72fa8e4f165847eabf9fd7c1de1ffc
tree8f47d290c96338b31dee26b76491186d5d4f8603
parentc91a1fb7a4f2ba93eade1611c67b78c40c87e291
s390/qeth: modernize two list helpers

Replace list_for_each() with list_for_each_entry(), and
list_entry(head.next) with list_first_entry().

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