From patchwork Wed Mar 20 22:28:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Chamberlain X-Patchwork-Id: 10862659 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C7E841390 for ; Wed, 20 Mar 2019 22:28:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD9DF29ECD for ; Wed, 20 Mar 2019 22:28:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A17BB29ED1; Wed, 20 Mar 2019 22:28:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C11A29ECD for ; Wed, 20 Mar 2019 22:28:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727658AbfCTW2s (ORCPT ); Wed, 20 Mar 2019 18:28:48 -0400 Received: from mail-yw1-f68.google.com ([209.85.161.68]:44685 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727540AbfCTW2r (ORCPT ); Wed, 20 Mar 2019 18:28:47 -0400 Received: by mail-yw1-f68.google.com with SMTP id c4so3315616ywa.11; Wed, 20 Mar 2019 15:28:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8Uoy8NZffLtwCVWkJYoNixcTf+BuPJo1nSiGzd+WLLk=; b=HYXZtfIxu3Krjp/OwZozZHWgEQdAIqbLGS3QNDkkHsuZ3lonzgeudzkbi/dTHqKR2x +2Xnx03DPyAk3ja069TSEZ3B887LfTG3MuuamCMKHe2oHDvq9E2WAYbUbO6C9Dtk+RJK Lzc5vqN0lJTyp/zUhveRmZjb3eT6BfZV0MhIQXAjeU76DtomeB0TT941ZlM3sfo+h83N mbrMs7qiDs4edzTLjjCVid2RvpVVYP3Do1bV1RrmnLCmOuz3bG8bRwG1fK1tM8O8zGKU 0V2AlzXHCLMfTfABFSxQ/2YpucTcT55B5P/auU1BvwfYHJqSRI8QlwhPRQnEMZqx+6Zf T/UQ== X-Gm-Message-State: APjAAAXb5ivhrQbwGH1PgT2Nk32a0lpcR3N++1qsrB4sltaVhp4xUVxy ZZ5Sr7sfgrcdkBRxkIfRXbL78eVZZH0= X-Google-Smtp-Source: APXvYqxk+AZOaDH/Ah5XbLTmukG4DqBUEwZhwi6JjfpO5RGxWEzidqkzkQN/8/pw/36mVekf2YEHUA== X-Received: by 2002:a5b:9cf:: with SMTP id y15mr358887ybq.324.1553120926743; Wed, 20 Mar 2019 15:28:46 -0700 (PDT) Received: from 42.do-not-panic.com (42.do-not-panic.com. [157.230.128.187]) by smtp.gmail.com with ESMTPSA id 207sm1148726yws.38.2019.03.20.15.28.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Mar 2019 15:28:45 -0700 (PDT) Received: by 42.do-not-panic.com (sSMTP sendmail emulation); Wed, 20 Mar 2019 22:28:43 +0000 From: Luis Chamberlain To: akpm@linux-foundation.org, keescook@chromium.org Cc: sandeen@redhat.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Luis Chamberlain Subject: [PATCH 1/6] test_sysctl: remove superfluous test_reqs() Date: Wed, 20 Mar 2019 22:28:26 +0000 Message-Id: <20190320222831.8243-2-mcgrof@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190320222831.8243-1-mcgrof@kernel.org> References: <20190320222831.8243-1-mcgrof@kernel.org> MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We already call test_reqs(), no need to call it twice. Signed-off-by: Luis Chamberlain --- tools/testing/selftests/sysctl/sysctl.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/sysctl/sysctl.sh b/tools/testing/selftests/sysctl/sysctl.sh index 780ce7123374..87df7e52a97a 100755 --- a/tools/testing/selftests/sysctl/sysctl.sh +++ b/tools/testing/selftests/sysctl/sysctl.sh @@ -675,8 +675,6 @@ list_tests() echo "0005 x $(get_test_count 0005) - tests proc_douintvec() array" } -test_reqs - usage() { NUM_TESTS=$(grep -o ' ' <<<"$ALL_TESTS" | grep -c .)