From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=UhzOp//zCGZ1sA+mZPAdJC3pl3Zp3DSM9RiVygpEmh4=; b=YMxLiOBimkvJrXPdxwXr+d/e79bgfvBwI58rNC+iqNdPJhW2O5Ixx66atYvjQJWojJ BV/RQyhjViqNph1qqISNbI+77JoMo9mjy9ce4s1fEI5oWmpIBmFQ8NNEzqyeI/m1xPhL sktQ83up80GPABH/KSbFKnTglBk3uHle9c4cVHZFu/2jyLMIqzJTWUih9C6axYLe/wbU dY5+8xTIZHWG/cHlNxkD4iRVEaiflKep0IX0E6nlEJJIY2Vx6Ztm9Ybdvvqs08VQuqSo C3JaR3YQBWzgsKM0l/LO/ROpMKnhYCdBQxaCKg69XLypCr7SDwcTQWMqKmedHXEoW9+d jeRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=UhzOp//zCGZ1sA+mZPAdJC3pl3Zp3DSM9RiVygpEmh4=; b=iZ5+paiUHi81JaGv8d2KAoaxTjpiOhEt68Xvi5Uk1Zp9vuY6NtQLCAIJIW6dWvkShR jt3OVbI2ic8Eft3WaifUbtHkLW/3o4gcL8scbLfROdDdkh57ZUS+UbWLgJSEbQQ2R21Z vL1fVrx3DJ4eiJ0vqow1cv07IhjXSFU6d/tHld8dW2/+jzZPomuAYJyKIGhJKhZZyT4J Ti6C0x7Ez95Fd6WQDn90A+4cZz9s4wBugwJgtd5eIYPiGMTfGaJCgdn7x/4K/crUX9BJ CkoWM0mKtyFpBuEoQYb8IpmWL1jospoDd31mT3JkMukPu7vlrQzIiz6b/0s3qMF1JX+h Qgpw== X-Gm-Message-State: AOPr4FV51vcQ3+b+sGxalqiw+yKhIXB0SsNdzStiDJXgtqTDjCIhtM8oDNBI0lofpsn1exoZ X-Received: by 10.194.107.6 with SMTP id gy6mr31453035wjb.20.1463425363539; Mon, 16 May 2016 12:02:43 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id e8sm35248172wjm.23.2016.05.16.12.02.42 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 May 2016 12:02:42 -0700 (PDT) From: Thomas Monjalon To: Mauricio Vasquez B Cc: dev@dpdk.org, Ferruh Yigit Date: Mon, 16 May 2016 21:02:41 +0200 Message-ID: <1788766.A9NIFKQcY4@xps13> User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <5729AD0F.4060302@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] examples: remove useless checking X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 19:02:43 -0000 > > 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