From patchwork Thu May 26 23:46:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 68717 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp658551qge; Thu, 26 May 2016 16:47:32 -0700 (PDT) X-Received: by 10.140.230.81 with SMTP id a78mr11704927qhc.68.1464306452475; Thu, 26 May 2016 16:47:32 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f186si15048178qkb.32.2016.05.26.16.47.32; Thu, 26 May 2016 16:47:32 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 2BFF867461; Thu, 26 May 2016 23:47:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id E73506744A; Thu, 26 May 2016 23:47:00 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 7357B61714; Thu, 26 May 2016 23:46:58 +0000 (UTC) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by lists.linaro.org (Postfix) with ESMTPS id AB5CC61714 for ; Thu, 26 May 2016 23:46:57 +0000 (UTC) Received: by mail-oi0-f47.google.com with SMTP id k23so149443006oih.0 for ; Thu, 26 May 2016 16:46:57 -0700 (PDT) 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:in-reply-to :references; bh=EyMoi3YfgRKNoagHDJqHaZVn+DDkjyq3xfa4RPNeavo=; b=IUM51WFTMvxG54XMoq3QTyb5UETIUoBGV37NGUbBuM/WhEPf1/YnvEROfArjohQc3H mfifqLA0oNR7SZmE4ijGFZXXDS4eF/PLo8bqVPMIJSBG/4w4eeV9ac/GX8+hdP2bbJTT v63NSTlOJu5LXbaic0dUCuU/7PxJOv1hf58XPxI5NW5tukogZVSxcX6zVQW3x6TtuQ6p QaSfezflib0feZq5i30J5fauhXbn6Zw6ljE8Wf9AqoT4nlV24fU/6vh1u3oD51VAMFkf Tw5um86Sn5kH/WUZxWRDhswW15ndyl7fpSKzftCLhSZl6TMlr45XMfEngd3y2b4AmdUw EPCw== X-Gm-Message-State: ALyK8tJo+rKLp/Z+2Ht6Nl6tbeLPMY8P/2dcSDNeBIpDyjoU2lxOyyST0oyEmgnmknbTbtOxifs= X-Received: by 10.157.37.8 with SMTP id k8mr7519184otb.115.1464306415423; Thu, 26 May 2016 16:46:55 -0700 (PDT) Received: from localhost.localdomain (cpe-66-68-129-43.austin.res.rr.com. [66.68.129.43]) by smtp.gmail.com with ESMTPSA id c7sm7720581oia.8.2016.05.26.16.46.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 May 2016 16:46:54 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Thu, 26 May 2016 18:46:40 -0500 Message-Id: <1464306409-7325-2-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1464306409-7325-1-git-send-email-bill.fischofer@linaro.org> References: <1464306409-7325-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv3 01/10] example: tm: remove unused code X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Bill Fischofer --- example/traffic_mgmt/odp_traffic_mgmt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/example/traffic_mgmt/odp_traffic_mgmt.c b/example/traffic_mgmt/odp_traffic_mgmt.c index 1a1c652..9edf92e 100644 --- a/example/traffic_mgmt/odp_traffic_mgmt.c +++ b/example/traffic_mgmt/odp_traffic_mgmt.c @@ -646,8 +646,6 @@ static int traffic_generator(uint32_t pkts_to_send) } odp_atomic_inc_u32(&atomic_pkts_into_tm); - pkts_into_tm = odp_atomic_load_u32(&atomic_pkts_into_tm); - pkts_from_tm = odp_atomic_load_u32(&atomic_pkts_from_tm); } printf("%s odp_tm_enq_errs=%u\n", __func__, odp_tm_enq_errs);