Re: KVM: SEV: Fix unused variable in guest request handling
From: Markus Elfring
Date: Mon May 20 2024 - 10:16:47 EST
>>> The variable 'sev' is assigned, but never used. Remove it.
>> Would it be a bit nicer to use the word “Omit” instead of “Fix”
>> in the summary phrase?
>
>
> I can find many instances of "Fix unused variable" in the history of the
> kernel:
…
> but not a single "Omit unused variable" commit.
Some implementation details were fixed somehow because of a warning or error message.
You would probably like to point the desire out in your summary phrase
to get rid of another bit of redundant source code.
Were any analysis tools involved in the discovery of corresponding change possibilities?
Regards,
Markus