diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2020-02-19 09:40:57 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-21 10:24:32 +0100 |
| commit | f3c2e27750ea42b3cec96e5264d95c2a2b793156 (patch) | |
| tree | ee989a27cf0eeddbc180ffa0c92be3808197ac2d /tools/perf/scripts/python | |
| parent | n_hdlc: remove unused macros (diff) | |
| download | linux-f3c2e27750ea42b3cec96e5264d95c2a2b793156.tar.gz linux-f3c2e27750ea42b3cec96e5264d95c2a2b793156.zip | |
n_hdlc: convert debuglevel use to pr_debug
With pr_debug we have a fine-grained control about debugging prints. So
convert the use of global debuglevel variable and tests to a commonly
used pr_debug. And drop debuglevel completely.
This also implicitly adds a loglevel to the messages (KERN_DEBUG) as it
was missing on most of them.
And also use __func__ instead of function names explicitly typed.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200219084118.26491-3-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
