diff options
author | 2020-10-31 23:06:45 +0300 | |
---|---|---|
committer | 2020-11-04 15:31:19 +0100 | |
commit | 705e9195187d85249fbb0eaa844b1604a98fbc9a (patch) | |
tree | 3d4187ddc116e0ee8f90e5236680ccccefbcf9e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | module: set MODULE_STATE_GOING state when a module fails to load (diff) | |
download | linux-dev-705e9195187d85249fbb0eaa844b1604a98fbc9a.tar.xz linux-dev-705e9195187d85249fbb0eaa844b1604a98fbc9a.zip |
module: merge repetitive strings in module_sig_check()
The 'reason' variable in module_sig_check() points to 3 strings across
the *switch* statement, all needlessly starting with the same text.
Let's put the starting text into the pr_notice() call -- it saves 21
bytes of the object code (x86 gcc 10.2.1).
Suggested-by: Joe Perches <joe@perches.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions