Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4078955rwb; Mon, 31 Jul 2023 00:25:05 -0700 (PDT) X-Google-Smtp-Source: APBJJlEzY+OGcOf/0yOY6PmfIGlHZ1QDICy2i7wm+mBuwFB9ipQf6o65NPwgPLOEfJNWonwUiF7T X-Received: by 2002:a17:90a:5a82:b0:262:ec13:d3a with SMTP id n2-20020a17090a5a8200b00262ec130d3amr9447440pji.28.1690788305672; Mon, 31 Jul 2023 00:25:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690788305; cv=none; d=google.com; s=arc-20160816; b=K7TdOS2QZ+GXLVNsN0QvmttPxZXU/ockOilCIZAdoucNg5ODKbiF9ditzehfxR4Wft oEai/pxmhtUbQDwLnasGD4NBVA7KRobudvccF4wxzGjmXCBVOxazF3dLAZVhmS8ElAEz 51dBAQGykuPYhkZfBt2Krv8YfWk+inyET2z7SVpbi9zp1E/Gjp4OF5J6yuzxrBfsHjsz hItQ04FM3auPzdyl5go5zM+Pmtg9OLFN8bzkI2zRvJVepbcDXKp0IZZy5JLFgqNdrIwO KZLBPX0fANVQo/x5DrUXnNYAsUkYGZ2eNjiufAf9SIxI6P1YLVT61hVti14BUa98oCNE Vk9A== 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=At5xg4WFaytUAhHECCjxLQKpki7BkkTZdjvSgPu9Atg=; fh=UZfhiU2pgwvZdBOe9fFEhnfTQX0/6KsvXKQubWsfhik=; b=HzD1Y1pKx7rruNQF8P5lrI8gDHS2l+y+x5MEe7qJ7F4ZOHOJ+ly8UGn4B04iLBcaoF Ik35MWbNQb1tfGKFLwVkQYcZ+iD8GeC+fjzJ2SKrBST+It8NV9/ywax7T65y8vtz3M0T w7FcF3podg+KpHYFMUOUxVS+IK49uLbuqBPpIKa+DOZPo7cwr7dPv3Kvll4OqvJ5TybY 430X4zBx8j/fBIkvJy0FOf2aj0EprUuFxH7xU8Joc24K/pJcrFaGCVRsVIx1HPfygD/i 8hnWAlLidN3n2kOezSlIInywcSnziUiuxftaT+lY+c2dp+iUzUS3H+c42/wJbNSsd/ZA i2iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=n9igOyZG; 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 il5-20020a17090b164500b00262f937bf93si7100087pjb.77.2023.07.31.00.24.53; Mon, 31 Jul 2023 00:25:05 -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=n9igOyZG; 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 S229570AbjGaG1D (ORCPT + 99 others); Mon, 31 Jul 2023 02:27:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229956AbjGaG1B (ORCPT ); Mon, 31 Jul 2023 02:27:01 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF3D51A3; Sun, 30 Jul 2023 23:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1690784818; bh=k9l2McklzZ+f7yRkzY3nh6NN3e/IqcLnQTelqUxUMw8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=n9igOyZGuaqKnQVBE5HfbFFsddmIwBR9WR4ZmGbZrNSe25048Ohf6zphGVYGNuWoF G/mcZcfL4ZtiPeReeA39j8/4bmWou/ynYarqyHj14A35hXRgWBQYA1adhm8NDVRIJc JK3pyawT4fz4lGn++rCtyEuDhClYUKJuovYcW2wU= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Mon, 31 Jul 2023 08:26:57 +0200 Subject: [PATCH 2/4] selftests/nolibc: drop unused variables MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230731-nolibc-warnings-v1-2-74973d2a52d7@weissschuh.net> References: <20230731-nolibc-warnings-v1-0-74973d2a52d7@weissschuh.net> In-Reply-To: <20230731-nolibc-warnings-v1-0-74973d2a52d7@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=1690784818; l=1029; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=k9l2McklzZ+f7yRkzY3nh6NN3e/IqcLnQTelqUxUMw8=; b=aJonl+8VdC7MJHCYyAUY48LuP1WOU57ea5CAhF2u1SPA6lIUOjRsfNDoKxZMc047hBCDfCuNU zaJ4m2GdcOWCTdv2NApJXy8//W/CSAv1pUpFT0ySGEf+epkGIY6p5Sn 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 53e2d448eded..3064191681d0 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -786,9 +786,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 */ @@ -929,9 +927,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