power: fix build with clang 13
authorJim Harris <james.r.harris@intel.com>
Fri, 5 Nov 2021 15:53:51 +0000 (15:53 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 12 Nov 2021 14:33:35 +0000 (15:33 +0100)
commit0353121c33846c40ff2e2282448f324c93d3ce9d
tree9ae10620cf7f0ce0a234aea77bd9c3ab2a4cf3f4
parent001d402c894627cb2e05927a3923109272009368
power: fix build with clang 13

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.

Fixes: 450f0791312c ("power: add traffic pattern aware power control")
Cc: stable@dpdk.org
Signed-off-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/power/rte_power_empty_poll.c