aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorKangmin Park <[email protected]>2021-08-23 10:21:18 +0000
committerJakub Kicinski <[email protected]>2021-08-24 23:51:09 +0000
commita37c5c26693eadb3aa4101d8fe955e40d206b386 (patch)
tree7203922960e2f8bbdde0fb5f69e3f17eed191b65 /drivers/net/xen-netfront.c
parentselftests/net: Use kselftest skip code for skipped tests (diff)
downloadkernel-a37c5c26693eadb3aa4101d8fe955e40d206b386.tar.gz
kernel-a37c5c26693eadb3aa4101d8fe955e40d206b386.zip
net: bridge: change return type of br_handle_ingress_vlan_tunnel
br_handle_ingress_vlan_tunnel() is only referenced in br_handle_frame(). If br_handle_ingress_vlan_tunnel() is called and return non-zero value, goto drop in br_handle_frame(). But, br_handle_ingress_vlan_tunnel() always return 0. So, the routines that check the return value and goto drop has no meaning. Therefore, change return type of br_handle_ingress_vlan_tunnel() to void and remove if statement of br_handle_frame(). Signed-off-by: Kangmin Park <[email protected]> Acked-by: Nikolay Aleksandrov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions