diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-11-19 04:49:12 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-23 07:15:36 +0300 |
commit | 8acdad37cd13ce777b0811b2d332314037fcefa8 (patch) | |
tree | 04dc6eac9f18d7cb84f2d06713910667d147c3a0 /include/net/inet_hashtables.h | |
parent | 77934dc6db0d2b111a8f2759e9ad2fb67f5cffa5 (diff) | |
download | linux-8acdad37cd13ce777b0811b2d332314037fcefa8.tar.xz |
dccp/tcp: Remove NULL check for prev_saddr in inet_bhash2_update_saddr().
When we call inet_bhash2_update_saddr(), prev_saddr is always non-NULL.
Let's remove the unnecessary test.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Joanne Koong <joannelkoong@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/inet_hashtables.h')
0 files changed, 0 insertions, 0 deletions