aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2020-02-19 09:41:09 +0100
committerGreg Kroah-Hartman <[email protected]>2020-02-21 10:24:33 +0100
commit740708abbba281480f2986418c8acf2b540f0e98 (patch)
tree6f9ac5292a651c4ac2055d49f360f4775e6e64bd /tools/perf/scripts/python
parent844cc5f9e530da7502b0de69f0268b1fb0dd7ce3 (diff)
n_hdlc: add helper for buffers allocation
Given both rx and tx allocations do the same, add a new helper (n_hdlc_alloc_buf) and use it for both of them. This cleans up n_hdlc_alloc slightly. Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions