diff options
author | Xin Long <[email protected]> | 2018-02-16 17:18:33 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-02-16 16:32:37 -0500 |
commit | 9ab2323ca184168c288f7355fc19ec0838efc20c (patch) | |
tree | 5cb8afff946a6598d5cd937543315cfc4d4eb517 /net/unix/af_unix.c | |
parent | a16b8d0cf2ec1e626d24bc2a7b9e64ace6f7501d (diff) |
sctp: remove the left unnecessary check for chunk in sctp_renege_events
Commit fb23403536ea ("sctp: remove the useless check in
sctp_renege_events") forgot to remove another check for
chunk in sctp_renege_events.
Dan found this when doing a static check.
This patch is to remove that check, and also to merge
two checks into one 'if statement'.
Fixes: fb23403536ea ("sctp: remove the useless check in sctp_renege_events")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Xin Long <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions