summaryrefslogtreecommitdiff
path: root/include/net/llc_c_st.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-02-07 10:56:38 +0000
committerDavid S. Miller <davem@davemloft.net>2017-02-07 14:04:29 -0500
commit1f02b5f42f53af516c4f5f747390e66d7a8f0bfe (patch)
treea1391b54ede82b4cb1dc8d891b73f46100e41337 /include/net/llc_c_st.h
parentee467fbaaf8eed86efc335753bd95971aa444f7a (diff)
net: bridge: remove redundant check to see if err is set
The error check on err is redundant as it is being checked previously each time it has been updated. Remove this redundant check. Detected with CoverityScan, CID#140030("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/llc_c_st.h')
0 files changed, 0 insertions, 0 deletions
r after Vivien's changes Changes in v3: - removed multiline comments from added structures - simplify error handling in dsa_slave_add_cls_matchall Changes in v2: - fixed filter removal logic to disable the ingress or egress mirroring when there are no longer ports being monitored in ingress or egress - removed a stray list_head in dsa_port structure that is not used Tested using the two iproute2 examples: tc qdisc add dev eth1 handle ffff: ingress tc filter add dev eth1 parent ffff: \ matchall skip_sw \ action mirred egress mirror \ dev eth2 tc qdisc add dev eth1 handle 1: root prio tc filter add dev eth1 parent 1: \ matchall skip_sw \ action mirred egress mirror \ dev eth2 ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/trace/events/module.h')