diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2021-12-07 10:04:48 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-07 22:01:01 -0800 |
commit | 5e9756a66fb5741f46b9c1d9ad50e4e57c8d6816 (patch) | |
tree | d2afc9b819ffda6f5c0b77162b212313af0e480b /drivers/net/wwan/iosm/iosm_ipc_debugfs.c | |
parent | c0e084e342a8046d06c4172b6ccb4db5d7633156 (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/net/wwan/iosm/iosm_ipc_debugfs.c')
0 files changed, 0 insertions, 0 deletions