commit | e7d96e750f2bc9b951290c90df421ac5e9adc3ed | [log] [tgz] |
---|---|---|
author | linke li <lilinke99@qq.com> | Tue Apr 23 18:53:26 2024 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 25 13:15:38 2024 +0100 |
tree | 041f42afb530450dff2200382e8071ece56dd095 | |
parent | e44894e2aa4eb311ceda134de8b6f51ff979211b [diff] |
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>