diff options
| author | Xin Long <[email protected]> | 2018-03-26 08:55:00 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-03-27 14:22:11 +0000 |
| commit | 5306653850b444452937834adc5a5ac63bae275e (patch) | |
| tree | c1c94686f9b5e6c77548cf6143156bd7041be5e6 /net/unix/af_unix.c | |
| parent | Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirshe... (diff) | |
| download | kernel-5306653850b444452937834adc5a5ac63bae275e.tar.gz kernel-5306653850b444452937834adc5a5ac63bae275e.zip | |
sctp: remove unnecessary asoc in sctp_has_association
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]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
