From: Pallantla Poornima Date: Fri, 15 Feb 2019 10:28:44 +0000 (+0000) Subject: power: remove unused variable X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1ea7c4aefc1ae1a6dd163cca4931aafd6e121907;p=dpdk.git power: remove unused variable Variable pfi_str is removed since it is unused. Fixes: 450f0791312c ("power: add traffic pattern aware power control") Cc: stable@dpdk.org Signed-off-by: Pallantla Poornima Reviewed-by: Rami Rosen Acked-by: Aaron Conole Acked-by: David Hunt --- diff --git a/lib/librte_power/rte_power_empty_poll.c b/lib/librte_power/rte_power_empty_poll.c index e6145462f7..15d4f05093 100644 --- a/lib/librte_power/rte_power_empty_poll.c +++ b/lib/librte_power/rte_power_empty_poll.c @@ -156,11 +156,8 @@ update_training_stats(struct priority_worker *poll_stats, { RTE_SET_USED(specific_freq); - char pfi_str[32]; uint64_t p0_empty_deq; - sprintf(pfi_str, "%02d", freq); - if (poll_stats->cur_freq == freq && poll_stats->thresh[freq].trained == false) { if (poll_stats->thresh[freq].cur_train_iter == 0) {