s390/qeth: remove open-coded inet_make_mask()
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 18 Dec 2019 16:34:46 +0000 (17:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2019 20:34:56 +0000 (12:34 -0800)
commit490df97142fe38f7af9ff8d4df8e9ece41df38ec
treed7ddcdd1bd48358426956f43b9ef6da0ef1f6603
parent2390166a6b457d3849dd4067c970f714b65bd9c3
s390/qeth: remove open-coded inet_make_mask()

Use inet_make_mask() to replace some complicated bit-fiddling.

Also use the right data types to replace some raw memcpy calls with
proper assignments.

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