From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 633BD2BA3; Thu, 30 Aug 2018 06:43:25 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Aug 2018 21:43:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,306,1531810800"; d="scan'208";a="86119889" Received: from fbsd.sh.intel.com ([10.67.104.231]) by orsmga001.jf.intel.com with ESMTP; 29 Aug 2018 21:43:15 -0700 Date: Thu, 30 Aug 2018 12:40:58 +0800 From: Tiwei Bie To: Rami Rosen Cc: dev@dpdk.org, stable@dpdk.org, maxime.coquelin@redhat.com, zhihong.wang@intel.com, yuanhan.liu@linux.intel.com Message-ID: <20180830044057.GA15599@fbsd.sh.intel.com> References: <20180825192240.6503-1-ramirose@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180825192240.6503-1-ramirose@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH] examples/vhost: remove unnecessary MAX_PRINT_BUFF defintion 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: Thu, 30 Aug 2018 04:43:27 -0000 > [PATCH] examples/vhost: remove unnecessary MAX_PRINT_BUFF defintion s/defintion/definition/ Apart from that, Reviewed-by: Tiwei Bie Thanks On Sat, Aug 25, 2018 at 10:22:40PM +0300, Rami Rosen wrote: > This patch removes an unnecessary definition of MAX_PRINT_BUFF > in examples/vhost/main.c, since it is no longer being used. > > Fixes: 68363d85857d ("examples/vhost: remove the non-working zero copy code"). > > Signed-off-by: Rami Rosen > --- > examples/vhost/main.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/examples/vhost/main.c b/examples/vhost/main.c > index 2175c1186..5d28d03f6 100644 > --- a/examples/vhost/main.c > +++ b/examples/vhost/main.c > @@ -58,9 +58,6 @@ > /* Max number of devices. Limited by vmdq. */ > #define MAX_DEVICES 64 > > -/* Size of buffers used for snprintfs. */ > -#define MAX_PRINT_BUFF 6072 > - > /* Maximum long option length for option parsing. */ > #define MAX_LONG_OPT_SZ 64 > > -- > 2.17.1 >