From: Xin Long <lucien.xin@xxxxxxxxx> 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 <lucien.xin@xxxxxxxxx> Since this is just a cleanup and a simplification, and doesn't fix any bugs, I'm applying this to net-next. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html