From patchwork Tue Sep 8 10:31:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 53258 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id 7360A22B05 for ; Tue, 8 Sep 2015 10:33:10 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf33812961wic.3 for ; Tue, 08 Sep 2015 03:33:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=wd8K0trJ4dH85wuCjwO8FuHR1Bj/UsR8dJXBxLwBwho=; b=Okm0938UBUIP3VfT6zWySgkjMu2/fMt90VylVRIfvLMLRnKykF1IpORacQyZoisvou uNzZizv+SUrD8FMpOLMYP1vqjjvCqi0MJqQuysApH4Y3Rts+EYiua7w1mekafo/02r7L d6WRrR4o7W9LNUBKDpAsA5sBPac8X4P9EIn42N50j17OA6BfJLLYZr1/ZiNzSTBzoqfN MjdgZDvPi3quCnVFv6ZgNkvcZPhIbx7apg3oWmHSFM3fQnUtWMQwlqra7Am8FlnU5GAc k+pvXdQntADFiyJX5lGrbUNWWioKdhgRNydP2bn+VwbFTLsv5MP9xvxtliXE9bsQ7Jrk eBvw== X-Gm-Message-State: ALoCoQkxuqv+JJc72Ujk+93ZLjKby48prsyiAlGQdYMh8Cg4y3tdVeFAKfW/rCoUkz3jE6d0ETYX X-Received: by 10.112.12.132 with SMTP id y4mr2392827lbb.0.1441708389610; Tue, 08 Sep 2015 03:33:09 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.105 with SMTP id z9ls70834laz.18.gmail; Tue, 08 Sep 2015 03:33:09 -0700 (PDT) X-Received: by 10.112.150.100 with SMTP id uh4mr21424020lbb.60.1441708389448; Tue, 08 Sep 2015 03:33:09 -0700 (PDT) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id b8si2804445lah.113.2015.09.08.03.33.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Sep 2015 03:33:09 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by lagj9 with SMTP id j9so66713266lag.2 for ; Tue, 08 Sep 2015 03:33:09 -0700 (PDT) X-Received: by 10.112.55.6 with SMTP id n6mr705008lbp.88.1441708389012; Tue, 08 Sep 2015 03:33:09 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp880141lbq; Tue, 8 Sep 2015 03:33:08 -0700 (PDT) X-Received: by 10.140.232.209 with SMTP id d200mr36202570qhc.68.1441708388166; Tue, 08 Sep 2015 03:33:08 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w67si3131303qgw.87.2015.09.08.03.33.07; Tue, 08 Sep 2015 03:33:08 -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; Received: by lists.linaro.org (Postfix, from userid 109) id 0F0406180A; Tue, 8 Sep 2015 10:33:07 +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_H3, RCVD_IN_MSPIKE_WL, 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 0FD79619AC; Tue, 8 Sep 2015 10:31:45 +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 9769B6195D; Tue, 8 Sep 2015 10:31:37 +0000 (UTC) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by lists.linaro.org (Postfix) with ESMTPS id 26C3861946 for ; Tue, 8 Sep 2015 10:31:35 +0000 (UTC) Received: by lbcao8 with SMTP id ao8so50551871lbc.3 for ; Tue, 08 Sep 2015 03:31:34 -0700 (PDT) X-Received: by 10.112.185.66 with SMTP id fa2mr21895999lbc.42.1441708294132; Tue, 08 Sep 2015 03:31:34 -0700 (PDT) Received: from localhost.localdomain (ppp91-76-161-180.pppoe.mtu-net.ru. [91.76.161.180]) by smtp.gmail.com with ESMTPSA id c6sm810079lbp.2.2015.09.08.03.31.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Sep 2015 03:31:33 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 8 Sep 2015 13:31:23 +0300 Message-Id: <1441708283-29002-5-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441708283-29002-1-git-send-email-maxim.uvarov@linaro.org> References: <1441708283-29002-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH 4/4] validation: synchronizers remove not used mask X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Maxim Uvarov --- test/validation/synchronizers/synchronizers.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/validation/synchronizers/synchronizers.c b/test/validation/synchronizers/synchronizers.c index 06977f9..53ddc33 100644 --- a/test/validation/synchronizers/synchronizers.c +++ b/test/validation/synchronizers/synchronizers.c @@ -1056,7 +1056,6 @@ int synchronizers_init(void) { uint32_t workers_count, max_threads; int ret = 0; - odp_cpumask_t mask; if (0 != odp_init_global(NULL, NULL)) { fprintf(stderr, "error: odp_init_global() failed.\n"); @@ -1082,7 +1081,7 @@ int synchronizers_init(void) global_mem->g_iterations = MAX_ITERATIONS; global_mem->g_verbose = VERBOSE; - workers_count = odp_cpumask_default_worker(&mask, 0); + workers_count = odp_cpumask_default_worker(NULL, 0); max_threads = (workers_count >= MAX_WORKERS) ? MAX_WORKERS : workers_count;