diff options
| author | 2022-06-07 12:49:16 +0200 | |
|---|---|---|
| committer | 2022-06-10 13:37:01 +0200 | |
| commit | f827c754f9b6247f4d4f9cbb508b22bff2cf8e6d (patch) | |
| tree | 6127ee183f14641522e6ead8a33756b31b194f7c /tools/perf/scripts/python | |
| parent | tty/vt: consolemap: remove extern from function decls (diff) | |
tty/vt: consolemap: convert macros to static inlines
This commit changes !CONFIG_CONSOLE_TRANSLATIONS definitions to real
(inline) functions. So the commit:
* makes type checking much stronger,
* removes the need of many parentheses and casts, and
* makes the code more readable.
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220607104946.18710-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
