From: Xin Long <[email protected]>
Date: Fri, 16 Feb 2018 17:18:33 +0800
> 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]>
Applied, thank you.