From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] examples: remove useless checking Date: Mon, 16 May 2016 21:02:41 +0200 Message-ID: <1788766.A9NIFKQcY4@xps13> References: <1461944899-28944-1-git-send-email-mauricio.vasquezbernal@studenti.polito.it> <1462310217-16243-1-git-send-email-mauricio.vasquezbernal@studenti.polito.it> <5729AD0F.4060302@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Ferruh Yigit To: Mauricio Vasquez B Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id AE58E95CA for ; Mon, 16 May 2016 21:02:43 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id n129so112792895wmn.1 for ; Mon, 16 May 2016 12:02:43 -0700 (PDT) In-Reply-To: <5729AD0F.4060302@intel.com> 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" > > The rte_eth_dev_count() function will never return a value greater > > than RTE_MAX_ETHPORTS, so that checking is useless. > > > > Signed-off-by: Mauricio Vasquez B > > Acked-by: Ferruh Yigit Applied, thanks