s390/qeth: clean up L3 sysfs code
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 18 Dec 2019 16:34:45 +0000 (17:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2019 20:34:56 +0000 (12:34 -0800)
commit2390166a6b457d3849dd4067c970f714b65bd9c3
treec52f4b3b83342f8c1e92017d8a5db12f65aa13db
parente6b1b7da247b329bb9e62adc97ef28678199cf35
s390/qeth: clean up L3 sysfs code

Consolidate some duplicated code for adding RXIP/VIPA addresses, and
move the locking to where it's actually needed.

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