[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180327.102236.313919266340860945.davem@davemloft.net>
Date: Tue, 27 Mar 2018 10:22:36 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: lucien.xin@...il.com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org,
marcelo.leitner@...il.com, nhorman@...driver.com
Subject: Re: [PATCH net] sctp: remove unnecessary asoc in
sctp_has_association
From: Xin Long <lucien.xin@...il.com>
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@...il.com>
Since this is just a cleanup and a simplification, and doesn't fix
any bugs, I'm applying this to net-next.
Thanks.
Powered by blists - more mailing lists