diff options
author | 2013-06-14 18:24:06 +0200 | |
---|---|---|
committer | 2013-06-14 15:38:36 -0700 | |
commit | c164b8381496ca797c37671fe510a264412ccae5 (patch) | |
tree | 9a1c94d0f34927c943f2246c61cded2eb2595bad /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | net: sctp: sctp_sf_do_prm_asoc: do SCTP_CMD_INIT_CHOOSE_TRANSPORT first (diff) | |
download | linux-dev-c164b8381496ca797c37671fe510a264412ccae5.tar.xz linux-dev-c164b8381496ca797c37671fe510a264412ccae5.zip |
net: sctp: minor: remove variable in sctp_init_sock
It's only used at this one time, so we could remove it as well.
This is valid and also makes it more explicit/obvious that in case
of error the sp->ep is NULL here, i.e. for the sctp_destroy_sock()
check that was recently added.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions