From: Xin Long
Date: Thu, 29 Jun 2017 17:28:06 +0800
> ep->base.sk gets it's value since sctp_endpoint_new, nowhere
> will change it. So there's no need to check if it's null, as
> it can never be null.
>
> Signed-off-by: Xin Long
Applied, thanks.
On Thu, Jun 29, 2017 at 05:28:06PM +0800, Xin Long wrote:
> ep->base.sk gets it's value since sctp_endpoint_new, nowhere
> will change it. So there's no need to check if it's null, as
> it can never be null.
>
> Signed-off-by: Xin Long
Acked-by: Marcelo Ricardo Leitner
> ---
> net/sctp/endpoi
ep->base.sk gets it's value since sctp_endpoint_new, nowhere
will change it. So there's no need to check if it's null, as
it can never be null.
Signed-off-by: Xin Long
---
net/sctp/endpointola.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/net/sctp/endpointo