From: Xin Long <lucien....@gmail.com> 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 <dan.carpen...@oracle.com> > Signed-off-by: Xin Long <lucien....@gmail.com> Applied, thank you.