diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-11-18 17:49:12 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-22 20:15:36 -0800 |
commit | 8acdad37cd13ce777b0811b2d332314037fcefa8 (patch) | |
tree | 04dc6eac9f18d7cb84f2d06713910667d147c3a0 /net/dccp | |
parent | 77934dc6db0d2b111a8f2759e9ad2fb67f5cffa5 (diff) |
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 'net/dccp')
0 files changed, 0 insertions, 0 deletions