diff options
author | 2021-12-07 10:04:48 +0100 | |
---|---|---|
committer | 2021-12-07 22:01:01 -0800 | |
commit | 5e9756a66fb5741f46b9c1d9ad50e4e57c8d6816 (patch) | |
tree | d2afc9b819ffda6f5c0b77162b212313af0e480b /net/core/devlink.c | |
parent | hv_sock: Extract hvs_send_data() helper that takes only header (diff) | |
download | wireguard-linux-5e9756a66fb5741f46b9c1d9ad50e4e57c8d6816.tar.xz wireguard-linux-5e9756a66fb5741f46b9c1d9ad50e4e57c8d6816.zip |
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 'net/core/devlink.c')
0 files changed, 0 insertions, 0 deletions