]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: clean up card initialization
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 9 Aug 2018 12:48:02 +0000 (14:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 21:02:50 +0000 (14:02 -0700)
commita076f482b2974a2ed4e47d35db88c86958dede14
tree7e1bbd0e2e02a3efc7d0bc62f4dd5021154f8acc
parent2510f7501737672c05f21f7538ae84f594dbf995
s390/qeth: clean up card initialization

The qeth_card struct is kzalloc-ed, so remove all the redundant
0-initializations. While at it, split up what's left of
qeth_determine_card_type().

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