From: Xin Long <[email protected]>
Date: Mon, 26 Mar 2018 16:55:00 +0800

> After Commit dae399d7fdee ("sctp: hold transport instead of assoc
> when lookup assoc in rx path"), it put transport instead of asoc
> in sctp_has_association. Variable 'asoc' is not used any more.
> 
> So this patch is to remove it, while at it,  it also changes the
> return type of sctp_has_association to bool, and does the same
> for it's caller sctp_endpoint_is_peeled_off.
> 
> Signed-off-by: Xin Long <[email protected]>

Since this is just a cleanup and a simplification, and doesn't fix
any bugs, I'm applying this to net-next.

Thanks.

Reply via email to