diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2020-02-19 09:41:00 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-21 10:24:32 +0100 |
| commit | c549725ff85ab2dee1b8453a92ab437150ece800 (patch) | |
| tree | d43431ad212a2c607f7da558ff05a21281a7a3a3 /tools/perf/scripts/python | |
| parent | n_hdlc: cleanup messages during registration (diff) | |
| download | linux-c549725ff85ab2dee1b8453a92ab437150ece800.tar.gz linux-c549725ff85ab2dee1b8453a92ab437150ece800.zip | |
n_hdlc: use clamp() for maxframe
It is easier to read. And use MAX_HDLC_FRAME_SIZE instead of magic
constant.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200219084118.26491-6-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
