diff options
author | Mattias Jacobsson <[email protected]> | 2018-12-29 15:17:50 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-01-04 12:54:49 -0300 |
commit | 099be748865eece21362aee416c350c0b1ae34df (patch) | |
tree | 12812a6d30186fb40730355af3cc98545f2210d7 /net/lapb/lapb_timer.c | |
parent | 442b4eb3af44906fcbb526d98c314b27f8c9acf3 (diff) |
perf strbuf: Remove redundant va_end() in strbuf_addv()
Each call to va_copy() should have one, and only one, corresponding call
to va_end(). In strbuf_addv() some code paths result in va_end() getting
called multiple times. Remove the superfluous va_end().
Signed-off-by: Mattias Jacobsson <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sanskriti Sharma <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Fixes: ce49d8436cff ("perf strbuf: Match va_{add,copy} with va_end")
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions