From patchwork Mon Dec 5 03:40:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhao1, Wei" X-Patchwork-Id: 17671 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 0D4FEFA3D; Mon, 5 Dec 2016 04:43:43 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 94EDCFA3B for ; Mon, 5 Dec 2016 04:43:40 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP; 04 Dec 2016 19:43:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,302,1477983600"; d="scan'208";a="198965590" Received: from dpdk1.bj.intel.com ([172.16.182.84]) by fmsmga004.fm.intel.com with ESMTP; 04 Dec 2016 19:43:38 -0800 From: Wei Zhao To: dev@dpdk.org Cc: olivier.matz@6wind.com, Wei Zhao Date: Mon, 5 Dec 2016 11:40:00 +0800 Message-Id: <1480909200-34647-1-git-send-email-wei.zhao1@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH v3] mempool: remove a redundant word "for" in comment 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" There is a redundant repetition word "for" in commnet line of the file rte_mempool.h after the definition of RTE_MEMPOOL_OPS_NAMESIZE. The word "for"appear twice in line 359 and 360. One of them is redundant, so delete it. Fixes: 449c49b93a6b ("mempool: support handler operations") Signed-off-by: Wei Zhao Acked-by: John McNamara Acked-by: Olivier Matz --- v3: --checkpatch warnings fixed v2: --checkpatch errors fixed --- lib/librte_mempool/rte_mempool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h index 440f3b1..911102b 100644 --- a/lib/librte_mempool/rte_mempool.h +++ b/lib/librte_mempool/rte_mempool.h @@ -357,7 +357,7 @@ void rte_mempool_check_cookies(const struct rte_mempool *mp, * Prototype for implementation specific data provisioning function. * * The function should provide the implementation specific memory for - * for use by the other mempool ops functions in a given mempool ops struct. + * use by the other mempool ops functions in a given mempool ops struct. * E.g. the default ops provides an instance of the rte_ring for this purpose. * it will most likely point to a different type of data structure, and * will be transparent to the application programmer.