From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH] examples/vhost: remove unnecessary MAX_PRINT_BUFF defintion Date: Mon, 10 Sep 2018 15:30:48 +0200 Message-ID: <327adae3-0474-b4ae-ce7d-3d7d24a943d0@redhat.com> References: <20180825192240.6503-1-ramirose@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@dpdk.org, tiwei.bie@intel.com, zhihong.wang@intel.com, yuanhan.liu@linux.intel.com To: Rami Rosen , dev@dpdk.org Return-path: In-Reply-To: <20180825192240.6503-1-ramirose@gmail.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 08/25/2018 09:22 PM, 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 > > Applied to dpdk-next-virtio/master, with changing the title to pass check-git-log.sh script. Thanks, Maxime