diff options
author | Jiri Slaby <jslaby@suse.cz> | 2020-02-19 09:41:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-21 10:24:33 +0100 |
commit | 740708abbba281480f2986418c8acf2b540f0e98 (patch) | |
tree | 6f9ac5292a651c4ac2055d49f360f4775e6e64bd /scripts/extract-cert.c | |
parent | n_hdlc: remove checking of n_hdlc (diff) | |
download | linux-740708abbba281480f2986418c8acf2b540f0e98.tar.xz linux-740708abbba281480f2986418c8acf2b540f0e98.zip |
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/extract-cert.c')
0 files changed, 0 insertions, 0 deletions