]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: consolidate qeth MAC address helpers
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Wed, 20 Dec 2017 19:11:00 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Dec 2017 20:23:45 +0000 (15:23 -0500)
commit4fa56955c8bee542c3807f00a223aff34b977a75
treed72df511024c77f89b2bf98d34465f37281ecf4d
parent7301f5e45b8bb9603c2748d085c73e8f92f6c938
s390/qeth: consolidate qeth MAC address helpers

For adding/removing a MAC address, use just one helper each that
handles both unicast and multicast.
Saves one level of indirection for multicast addresses, while improving
the error reporting for unicast addresses.

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