diff options
author | Sergey Shtylyov <s.shtylyov@omprussia.ru> | 2020-10-31 23:06:45 +0300 |
---|---|---|
committer | Jessica Yu <jeyu@kernel.org> | 2020-11-04 15:31:19 +0100 |
commit | 705e9195187d85249fbb0eaa844b1604a98fbc9a (patch) | |
tree | 3d4187ddc116e0ee8f90e5236680ccccefbcf9e5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5e8ed280dab9eeabc1ba0b2db5dbe9fe6debb6b5 (diff) |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions