From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] examples: remove useless checking Date: Tue, 3 May 2016 15:39:45 +0100 Message-ID: <5728B831.10804@intel.com> References: <1461944899-28944-1-git-send-email-mauricio.vasquezbernal@studenti.polito.it> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable To: dev@dpdk.org, Mauricio Vasquez B Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 4A56A2C08 for ; Tue, 3 May 2016 16:40:05 +0200 (CEST) In-Reply-To: <1461944899-28944-1-git-send-email-mauricio.vasquezbernal@studenti.polito.it> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 4/29/2016 4:48 PM, Mauricio Vasquez B wrote: > The rte_eth_dev_count() function will never return a value greater > than RTE_MAX_ETHPORTS, so that checking is useless. >=20 > Signed-off-by: Mauricio Vasquez B Patch looks good to me. Only there is one missed in examples/kni/main.c, can you please include that one too? Thanks, ferruh