diff options
author | linke li <lilinke99@qq.com> | 2024-04-23 13:53:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-25 15:15:38 +0300 |
commit | e7d96e750f2bc9b951290c90df421ac5e9adc3ed (patch) | |
tree | 041f42afb530450dff2200382e8071ece56dd095 /tools/testing | |
parent | e44894e2aa4eb311ceda134de8b6f51ff979211b (diff) | |
download | linux-e7d96e750f2bc9b951290c90df421ac5e9adc3ed.tar.xz |
net: bridge: remove redundant check of f->dst
In br_fill_forward_path(), f->dst is checked not to be NULL, then
immediately read using READ_ONCE and checked again. The first check is
useless, so this patch aims to remove the redundant check of f->dst.
Signed-off-by: linke li <lilinke99@qq.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions