From patchwork Wed Jun 5 16:06:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Wagner X-Patchwork-Id: 165903 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp7548070ili; Wed, 5 Jun 2019 09:06:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqx90MUxEO3Ajeqyvg98wgaSG+0jdcdVEjelThpMS95tZElx1pq4vCAqrEK3oQwaQvFKcIWQ X-Received: by 2002:a65:6256:: with SMTP id q22mr5492387pgv.190.1559750796553; Wed, 05 Jun 2019 09:06:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559750796; cv=none; d=google.com; s=arc-20160816; b=uJ4qZcTwSd95ubDhY73EULqJfKmjYmv3noJD7KeHs3L/XO6QhX0z0X7wo30vDBw2Mn w5Pi7Lh5hyIUJ22ZTUElcmD/EYdU8BGagbAhii2dJEFG/0cbLgL5JF4EiFwu3agsqhCe W0U9gqsIhGCv1rJMrGbRVVmN+H+u3nsgn3+E0ssXSZR5lhHkvzExVDz4wtHI4ijzCSbu DU3w8m+GUoesPCtXq8+ZECOMAetYxbcJ+KTaaFSfJQimcDd1UL0a7b/eUvy1B9qwhXfz xI8DJ7brQ5cWjcaGu/EYYA9LVBwihCcxlxilsEcmGHhaB91EjZ7O9/4bpxsyO+kl/RTp h8ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Hofr8rpd4HgioQGQW9rIyal0b/V5xOUL/A/mQeWjHW0=; b=yiBWZDbpyE84yDU3Y6qfZcFPaPh2IvbMM/3VLBDXEKmi3kFMk2b4+vS7qouNj6SeuK BIVFZ7Il7AG0fB0QfBe4KHPfUU8u1wQxlShQmkT5PntijhPj7QiSnOEcJO1vdgJ/yoHD vW7rTE4he+TGKOvJQEVrUESPlXoPpEnJqbGAucPtLc3u2FK/29SEjUfzO49FG2SMvbWr amzk5ws042vJ4PFttPrD5Sq8kwOcYtvLHFKw7IcK+BhHSLbehMutthZrbhngcayZ5nUI xSjmaDT3m4OGXkdAbzsk1egWeCLv6ejThT6emkTPSMPc/CvJIRAGxDRelnCloL1xJMN3 lFVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-rt-users-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-rt-users-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=monom.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q6si27364257pgm.101.2019.06.05.09.06.36; Wed, 05 Jun 2019 09:06:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-rt-users-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-rt-users-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-rt-users-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=monom.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728448AbfFEQGb (ORCPT + 3 others); Wed, 5 Jun 2019 12:06:31 -0400 Received: from mail.monom.org ([188.138.9.77]:35590 "EHLO mail.monom.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726421AbfFEQGb (ORCPT ); Wed, 5 Jun 2019 12:06:31 -0400 Received: from mail.monom.org (localhost [127.0.0.1]) by filter.mynetwork.local (Postfix) with ESMTP id 5DC9D500535; Wed, 5 Jun 2019 18:06:29 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.monom.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (ppp-93-104-174-142.dynamic.mnet-online.de [93.104.174.142]) by mail.monom.org (Postfix) with ESMTPSA id 20ED55004BB; Wed, 5 Jun 2019 18:06:28 +0200 (CEST) From: Daniel Wagner To: John Kacur Cc: linux-rt-users@vger.kernel.org, Daniel Wagner Subject: [PATCH v2 01/12] rt_numa.h: Remove unused function Date: Wed, 5 Jun 2019 18:06:06 +0200 Message-Id: <20190605160617.22987-2-wagi@monom.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190605160617.22987-1-wagi@monom.org> References: <20190605160617.22987-1-wagi@monom.org> MIME-Version: 1.0 Sender: linux-rt-users-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rt-users@vger.kernel.org From: Daniel Wagner GCC on a BeagleBoneBlack complains: In file included from src/cyclictest/cyclictest.c:39:0: src/cyclictest/rt_numa.h:253:13: warning: ‘numa_on_and_available’ defined but not used [-Wunused-function] static void numa_on_and_available() ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Daniel Wagner --- src/cyclictest/rt_numa.h | 7 ------- 1 file changed, 7 deletions(-) -- 2.20.1 Signed-off-by: John Kacur diff --git a/src/cyclictest/rt_numa.h b/src/cyclictest/rt_numa.h index e8cd7f481baa..e0f4b2e9d8b2 100644 --- a/src/cyclictest/rt_numa.h +++ b/src/cyclictest/rt_numa.h @@ -249,13 +249,6 @@ static inline void rt_bitmask_free(struct bitmask *mask) free(mask); } - -static void numa_on_and_available() -{ - if (numa) /* NUMA is not defined here */ - fatal("numa mode and numa functions not available.\n"); -} - #endif /* NUMA */ /*