From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 529651B3FD; Fri, 15 Feb 2019 12:41:10 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Feb 2019 03:41:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,372,1544515200"; d="scan'208";a="133818904" Received: from dhunt5-mobl2.ger.corp.intel.com (HELO [10.237.210.33]) ([10.237.210.33]) by FMSMGA003.fm.intel.com with ESMTP; 15 Feb 2019 03:41:07 -0800 To: Pallantla Poornima , dev@dpdk.org Cc: reshma.pattan@intel.com, aconole@redhat.com, ramirose@gmail.com, stable@dpdk.org References: <1550226524-26278-1-git-send-email-pallantlax.poornima@intel.com> From: "Hunt, David" Message-ID: <95365c42-195d-d3c4-b1e6-e137b16fa536@intel.com> Date: Fri, 15 Feb 2019 11:41:06 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <1550226524-26278-1-git-send-email-pallantlax.poornima@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH v3] power: fix to remove unused variable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2019 11:41:10 -0000 On 15/2/2019 10:28 AM, Pallantla Poornima wrote: > 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 > --- > v3: Updated fixes line. > v2: Removed unused variable as suggested. > --- > lib/librte_power/rte_power_empty_poll.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/lib/librte_power/rte_power_empty_poll.c b/lib/librte_power/rte_power_empty_poll.c > index e6145462f..15d4f0509 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) { Acked-by: David Hunt