summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-02-19 11:41:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-21 12:24:33 +0300
commit740708abbba281480f2986418c8acf2b540f0e98 (patch)
tree6f9ac5292a651c4ac2055d49f360f4775e6e64bd /scripts
parent844cc5f9e530da7502b0de69f0268b1fb0dd7ce3 (diff)
downloadlinux-740708abbba281480f2986418c8acf2b540f0e98.tar.xz
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 <jslaby@suse.cz> Link: https://lore.kernel.org/r/20200219084118.26491-15-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions