[PATCH v2] power: fix unused-but-set variable error
David Marchand
david.marchand at redhat.com
Fri Nov 12 15:46:04 CET 2021
On Mon, Nov 8, 2021 at 9:40 PM David Marchand <david.marchand at redhat.com> wrote:
> > clang-13 rightfully complains that the tot_ppi
> > variable in update_stats is set but not used, since
> > the final accumulated tot_ppi results isn't used
> > anywhere.
> >
> > Signed-off-by: Jim Harris <james.r.harris at intel.com>
> Reviewed-by: David Marchand <david.marchand at redhat.com>
I split the fix and marked it for backport.
The cleanup on unused metadata is merged as a second patch.
Applied, thanks Jim.
--
David Marchand
More information about the dev
mailing list