Messages in this thread | | | From | Nick Desaulniers <> | Date | Tue, 11 Oct 2022 14:22:18 -0700 | Subject | Re: [PATCH -next v4 1/2] x86/boot: Remove unused variables |
| |
On Mon, Oct 10, 2022 at 6:32 PM Li Zetao <lizetao1@huawei.com> wrote: > > diff --git a/arch/x86/boot/compressed/sev.c b/arch/x86/boot/compressed/sev.c > index c93930d5ccbd..b9451761a69a 100644 > --- a/arch/x86/boot/compressed/sev.c > +++ b/arch/x86/boot/compressed/sev.c > @@ -253,7 +253,6 @@ void do_boot_stage2_vc(struct pt_regs *regs, unsigned long exit_code) > static void enforce_vmpl0(void) > { > u64 attrs; > - int err;
Just a thought but you could initialize attrs now on the same line.
I also ended up testing the whole series, so:
Tested-by: Nick Desaulniers <ndesaulniers@google.com> -- Thanks, ~Nick Desaulniers
| |