Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5273798rwb; Mon, 31 Jul 2023 22:57:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlEnz3Xzu8pOdiJB6ZmWkSIZW4LlvxhQ4JZ9Q9h6DRCkc6SuiRKMl20xxBV6y97CTs1rtSSS X-Received: by 2002:a05:6a20:1450:b0:132:cd2d:16fd with SMTP id a16-20020a056a20145000b00132cd2d16fdmr11710499pzi.38.1690869478293; Mon, 31 Jul 2023 22:57:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690869478; cv=none; d=google.com; s=arc-20160816; b=ypqgRZfMXceF8imRD0GR9y9Ar3QHjSpYk/BAVc+hEg/EAyPGRv7dLyEYr/rML3I1f0 csWNWGfyOSSHzkhzHjVx0HhzraU0zc/iN7FgoUDI3na82zEGDxHfvV2c6N1B407cC/Q2 AM1LxvossLYO+Zv8GJdvtGWOJwOvnv9WeIsItVF4d3NwdMyWRtvem+yrROmKH+7yVZm0 4hha/C5rsx7y2QP2DFnOWgp+rMlCzPXTXFeKxCf2HvBJ1bIjTGcOp565DUdNRoBGgh2E ppWlnUaMgXEbqw1PHk/+lIsaruDMq6AFasWnFUU4LaiVfqnZf2GDkN4n7cGmmnekTyWL 4pCw== 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=nC7aNeYY7Tz4/xzxIXreZNBtff39dxcTPeS96KxYhEM=; fh=UZfhiU2pgwvZdBOe9fFEhnfTQX0/6KsvXKQubWsfhik=; b=j7TH31YtJRXd2Z+TWea5s15mU9Z047N2m7DBHe8C2qQzeNB1ULTxnNBS8han1ond+n CLA59MPgavKCh/SfbVIIqFMINGnTK5YBSBrajfP6zojHUEY9og1xR+vO9wEugChk6yo8 Z0n4BVp+EVYxMKObGTPmo3FC9TXDhuJQuaOhOxdjf6WZGFd98WL79fUiCI6uRy4ECgJM vu2FlOrIkZxkhham5ye+MvQfmsKlxEy0N/f5R8dgz9TppHGgWNcKGtlZXTGfMBZzFAhV xCwnWIwCX9iBOJXQvPtVfLxH5E/n36xZ1ZRz6GpljgIjNWCfP1TMX1zEY+LH5PyXbE9o woRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=R35OYw1z; 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 v4-20020a056a00148400b00665c24182bcsi8710516pfu.219.2023.07.31.22.57.45; Mon, 31 Jul 2023 22:57:58 -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=R35OYw1z; 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 S230209AbjHAFa0 (ORCPT + 99 others); Tue, 1 Aug 2023 01:30:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbjHAFaV (ORCPT ); Tue, 1 Aug 2023 01:30:21 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 867AC1FC3; Mon, 31 Jul 2023 22:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1690867812; bh=j96CuOLvJppfEA70wZqqPAJsnlrN3A9fJ6xA4htw4tY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=R35OYw1zLozA6mdagb67ZWoj6xAVDTadUXownJy7jL8pv5aqZeCLokMpx2sCtNLxl 6kE1tAb6W84xwAP/dJXnGR3z+uM+1FUIVnL3Uh7t+hftKSzb8HYXPOuzXQt4sGJoja JS+5dO3mCd7v6TPhJXnmxh0JRr3WZ2KyAJbCwXYQ= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Tue, 01 Aug 2023 07:30:11 +0200 Subject: [PATCH v2 04/10] selftests/nolibc: drop unused variables MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230801-nolibc-warnings-v2-4-1ba5ca57bd9b@weissschuh.net> References: <20230801-nolibc-warnings-v2-0-1ba5ca57bd9b@weissschuh.net> In-Reply-To: <20230801-nolibc-warnings-v2-0-1ba5ca57bd9b@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=1690867811; l=1031; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=j96CuOLvJppfEA70wZqqPAJsnlrN3A9fJ6xA4htw4tY=; b=SElh9ZEtkHumDZa9Llk+sszzBJ4Sddw5iSXmUudN8LRkmWmuPYLugrF3XUh4J0KOPv7AhPuD0 Psa9lbfPYAqAP+CZbuiKmFN2e/CWRjkl+ouZhqVkXyzX3CzEqfx26W6 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,SPF_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_HELO_TEMPERROR,URIBL_BLOCKED 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 03b1d30f5507..9a5a212ea55c 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -885,9 +885,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 */ @@ -1028,9 +1026,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