diff options
author | 2022-05-16 19:42:15 +0100 | |
---|---|---|
committer | 2022-05-17 12:52:37 +0200 | |
commit | 0621210ab7693e6d50585ca689d95d57df617455 (patch) | |
tree | 20d00f23a156b166fa429272749361f073577f31 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/sev: Fix address space sparse warning (diff) | |
download | linux-dev-0621210ab7693e6d50585ca689d95d57df617455.tar.xz linux-dev-0621210ab7693e6d50585ca689d95d57df617455.zip |
x86/sev: Remove duplicated assignment to variable info
Variable info is being assigned the same value twice, remove the
redundant assignment. Also assign variable v in the declaration.
Cleans up clang scan warning:
warning: Value stored to 'info' during its initialization is never read [deadcode.DeadStores]
No code changed:
# arch/x86/kernel/sev.o:
text data bss dec hex filename
19878 4487 4112 28477 6f3d sev.o.before
19878 4487 4112 28477 6f3d sev.o.after
md5:
bfbaa515af818615fd01fea91e7eba1b sev.o.before.asm
bfbaa515af818615fd01fea91e7eba1b sev.o.after.asm
[ bp: Running the before/after check on sev.c because sev-shared.c
gets included into it. ]
Fixes: 597cfe48212a ("x86/boot/compressed/64: Setup a GHCB-based VC Exception handler")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220516184215.51841-1-colin.i.king@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions