summaryrefslogtreecommitdiff
path: root/drivers/s390/net/qeth_l2_main.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2021-12-07 10:04:48 +0100
committerJakub Kicinski <kuba@kernel.org>2021-12-07 22:01:01 -0800
commit5e9756a66fb5741f46b9c1d9ad50e4e57c8d6816 (patch)
treed2afc9b819ffda6f5c0b77162b212313af0e480b /drivers/s390/net/qeth_l2_main.c
parentc0e084e342a8046d06c4172b6ccb4db5d7633156 (diff)
s390/qeth: simplify qeth_receive_skb()
Now that the OSN code is gone, we don't need the second switch statement in the RX path. And getting rid of its (unreachable) default case is a nice simplification. Also don't pass in the full HW header, all we still need is a flag to indicate whether the skb can use CSO. This we can already obtain during the first peek at the HW header. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Alexandra Winter <wintera@linux.ibm.com> Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com> Signed-off-by: Alexandra Winter <wintera@linux.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/s390/net/qeth_l2_main.c')
0 files changed, 0 insertions, 0 deletions