diff options
author | Kangmin Park <l4stpr0gr4m@gmail.com> | 2021-08-23 19:21:18 +0900 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-08-24 16:51:09 -0700 |
commit | a37c5c26693eadb3aa4101d8fe955e40d206b386 (patch) | |
tree | 7203922960e2f8bbdde0fb5f69e3f17eed191b65 /include/linux/netdevice.h | |
parent | 7844ec21a915cc60f1e2cd8682b943b916a7d2fc (diff) | |
download | linux-stable-a37c5c26693eadb3aa4101d8fe955e40d206b386.tar.gz linux-stable-a37c5c26693eadb3aa4101d8fe955e40d206b386.tar.bz2 linux-stable-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 <l4stpr0gr4m@gmail.com>
Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Link: https://lore.kernel.org/r/20210823102118.17966-1-l4stpr0gr4m@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions