aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <[email protected]>2018-05-14 14:34:43 -0300
committerDavid S. Miller <[email protected]>2018-05-14 22:57:15 -0400
commit4fdbb0efb9de51295071fdf968d476c1f0605d21 (patch)
tree97b8c17a71566857c739a0519dbbb8cafbc902e9 /tools/perf/scripts/python
parent6605f694823965fe53ce761dad3aaf965861dc7e (diff)
sctp: rework switch cases in sctp_outq_flush_data
Remove an inner one, which tended to be error prone due to the cascading and it can be replaced by a simple if (). Rework the outer one so that the actual flush code is not inside it. Now we first validate if we can or cannot send data, return if not, and then the flush code. Suggested-by: Xin Long <[email protected]> Signed-off-by: Marcelo Ricardo Leitner <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions