]> git.droids-corp.org - dpdk.git/commit
power: remove unused poll counter
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:43:49 +0000 (15:43 +0100)
commitd4fb4eb08725a3e667042c1f5cd3ed72b94505a7
tree3549da647335af7d41d3e5372fa2d010472debc5
parent0353121c33846c40ff2e2282448f324c93d3ce9d
power: remove unused poll counter

Following the previous fix, there is nothing using the ppi counter.

We can remove the related ppi_av array in struct priority_worker.
This allows us to also remove num_dequeue_pkts_prev and pc from
struct priority_worker since they are only used in conjunction
with the ppi_av array.

Suggested-by: David Marchand <david.marchand@redhat.com>
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
lib/power/rte_power_empty_poll.h