]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: convert bridgeport callbacks
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 12 Feb 2019 17:33:24 +0000 (18:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 18:14:24 +0000 (13:14 -0500)
commit7dee0a8bc4d8167247e96e753571e3ceab7be561
tree84d4e0346be5c190d9b51ef74adcfcb7694c08da
parent1ebfbf1f2d58749aa1901208d6a7fe35cb5eb24b
s390/qeth: convert bridgeport callbacks

By letting the callbacks deal with error translation, we no longer need
to pass the raw error codes back to the originator. This allows us to
slim down the callback's private data, and nicely simplifies the code.

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