summaryrefslogtreecommitdiff
path: root/drivers/s390/net/qeth_core_sys.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2021-01-28 12:25:48 +0100
committerJakub Kicinski <kuba@kernel.org>2021-01-28 20:35:58 -0800
commit17f3a8b5f5c9097c658d662df9beaff0932b0242 (patch)
treeb9270782fc98754e738af0df4b4f659024a223b0 /drivers/s390/net/qeth_core_sys.c
parentea12f1b3c8289102620d3030de3547eedce6d9e8 (diff)
downloadlinux-17f3a8b5f5c9097c658d662df9beaff0932b0242.tar.gz
linux-17f3a8b5f5c9097c658d662df9beaff0932b0242.tar.bz2
linux-17f3a8b5f5c9097c658d662df9beaff0932b0242.zip
s390/qeth: remove qeth_get_ip_version()
Replace our home-grown helper with the more robust vlan_get_protocol(). This is pretty much a 1:1 replacement, we just need to pass around a proper ETH_P_* everyhwere and convert the old value range. For readability also convert the protocol checks in qeth_l3_hard_start_xmit() to a switch statement. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/s390/net/qeth_core_sys.c')
0 files changed, 0 insertions, 0 deletions