diff options
author | Xin Long <lucien.xin@gmail.com> | 2018-03-01 23:05:17 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-04 13:00:57 -0500 |
commit | 007b7e18be74a49b61f89664966ac1477e1c9608 (patch) | |
tree | 4939a7c2d7171008551acf09e65a651208f38206 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8e87c6eb18f9d7427054f28a284d495c174d9970 (diff) |
sctp: improve some variables in sctp_sendmsg
This patch mostly is to:
- rename sinfo_flags as sflags, to make the indents look better, and
also keep consistent with other sctp_sendmsg_xx functions.
- replace new_asoc with bool new, no need to define a pointer here,
as if new_asoc is set, it must be asoc.
- rename the 'out_nounlock:' as 'out', shorter and nicer.
- remove associd, only one place is using it now, just use
sinfo->sinfo_assoc_id directly.
- remove 'cmsgs' initialization in sctp_sendmsg, as it will be done
in sctp_sendmsg_parse.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions