Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1909299rwo; Thu, 3 Aug 2023 01:27:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlGSprsL7TM/jfx+1TbKr9IbuEksIbPQuDYjsBKeHK1dx8qSkgaFil6MYUTO2cRnqKYNFN+i X-Received: by 2002:a17:903:504:b0:1b8:7bd2:f77d with SMTP id jn4-20020a170903050400b001b87bd2f77dmr15517112plb.64.1691051247107; Thu, 03 Aug 2023 01:27:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691051247; cv=none; d=google.com; s=arc-20160816; b=gu39GIyBoJMpatMsX9bB3MuNNGbW2EfXf7c2tWcuGulH95As3/bR7VqKgsSoDuWhg4 fToSR4NO/R0m5vZZHUTsHdG2P6LrW42QaRSywIbmBaa3MMEnJrVClHUu/lLZWc6LdWfJ XzxWbqxnAf9Srfm8fRRy7AemDhnrodkb42tgO25JPlxJ70eplnRxqMCOv2Mb0C1nGDov q9/vu8FnNRjsuT2c3g3MLySryAPHZTukxY0VSNflEzvDf7S5lkDRxHisxY4sdrIQSONk U7iBrDIGg9160LytgcYU+uelX1+kduS/vYNxX95Znr8ukbSUOYomDpCf8b+zTr5rxrr6 4fYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=do/x2nNVUrDrm1QNfC6iycZVLqWPovG4nIsZtNnJ44g=; fh=UZfhiU2pgwvZdBOe9fFEhnfTQX0/6KsvXKQubWsfhik=; b=iIp16wxV0AMEkFBEVKwQT4he96A8XJxZidWvmJ5tRvOUDj14IPRZaKoeJorG2Wsx67 HiWpQpAE3snjDXimX2dhmwVmzFrOseUxkqKwUSaAVy1iGeut/usZzM1VfaQQgo/9MVd7 vxqmpqLc+gS/B+meL9NOLFG14r+Kp0UdPkih011O2rC4Q6qOyJLTlgn62nzf6upsAp4O AFIn+PInF2p7m1LDEQ72jVewiJTiR3OwxzZUP/S/0uHpJxrb/W5yhCmyrnct4p1ppl95 zy/adERWpoRQQdP2G31Mtl5e6TV7jMvclGGF6/CvZSfPH6hgJpHzYpBbqd5jwRHAe/56 EzAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=oMQtMHW2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020a170902ba8300b001b83fd5130asi7625794pls.24.2023.08.03.01.27.14; Thu, 03 Aug 2023 01:27:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=oMQtMHW2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233786AbjHCH3N (ORCPT + 99 others); Thu, 3 Aug 2023 03:29:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232085AbjHCH2y (ORCPT ); Thu, 3 Aug 2023 03:28:54 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03E7630CA; Thu, 3 Aug 2023 00:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1691047729; bh=FYW5QoP5+S9dB6umlL+oN4HnFsDZi3fajwjXFuBeuUU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=oMQtMHW2hK8MsDIGfxKj8QjxtaszAil3iqby3nulpaimVFdvLIt+byK+Hw4lftq0J I701Ixx5pTSl6yAR6mqb62v12M2OtSPZ5Emv4/7csGRX1f3VuAv8OGsWvruJZnRcw2 NbJ45WZBMBt4CizWfdJfQd3CjTMOWjUgWt2jbNH4= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Thu, 03 Aug 2023 09:28:50 +0200 Subject: [PATCH v3 06/14] selftests/nolibc: drop unused variables MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230803-nolibc-warnings-v3-6-bcc1a096ae02@weissschuh.net> References: <20230803-nolibc-warnings-v3-0-bcc1a096ae02@weissschuh.net> In-Reply-To: <20230803-nolibc-warnings-v3-0-bcc1a096ae02@weissschuh.net> To: Willy Tarreau , Shuah Khan Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Yuan Tan , Zhangjin Wu , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691047727; l=1031; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=FYW5QoP5+S9dB6umlL+oN4HnFsDZi3fajwjXFuBeuUU=; b=he62Hb+5paDBtJB0GmwLNxnwaODM5oItQzKuC9iP8SNeUOCQ8UB0xUKooDaG0vcYpYzy2BkES vYmj39D9oVlBl2AN9Kk2W+9HV8KtfK4ojW1isYN8e2g73HOKeOxSDDQ X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These got copied around as new testcases where created. Signed-off-by: Thomas Weißschuh --- tools/testing/selftests/nolibc/nolibc-test.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index 52489455add8..cff441c17f3e 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -908,9 +908,7 @@ int run_syscall(int min, int max) int run_stdlib(int min, int max) { int test; - int tmp; int ret = 0; - void *p1, *p2; for (test = min; test >= 0 && test <= max; test++) { int llen = 0; /* line length */ @@ -1051,9 +1049,7 @@ static int expect_vfprintf(int llen, size_t c, const char *expected, const char static int run_vfprintf(int min, int max) { int test; - int tmp; int ret = 0; - void *p1, *p2; for (test = min; test >= 0 && test <= max; test++) { int llen = 0; /* line length */ -- 2.41.0