Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5294196rwb; Mon, 31 Jul 2023 23:24:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlEp8u1iJSYL8Rg/XQXpA0m7VY1P7YW1TwM4eErM4MYJrGHVFgHBHVRFoQIDeaRs5a5mCmX3 X-Received: by 2002:a05:6512:747:b0:4fd:b223:92c with SMTP id c7-20020a056512074700b004fdb223092cmr1170822lfs.60.1690871049005; Mon, 31 Jul 2023 23:24:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690871048; cv=none; d=google.com; s=arc-20160816; b=b4jT0mU9Vy51XtXYelbRuol9Wk1T3Ok1SXhhr1Aw4h2g4bRS/E4DjOhHMqZOdJiaZZ NYEMzwMY3d0PO5KIwch9ROBEUTjKL6CHA4I+qhmve1jKNu0aipYaRQ2DOOBqKCwGnw0s lM2zTzyiWOTVMETTHtYV0gMjxeF2fL1DAaNMfBmKQFHLxoV9pePKRywju2yjCJ/FUhZn GdSlvGI1yVakQ53CL9WBMFVwy9LRSnPfbjch6na9OAvvcAoV1somp5K+yopgsocTaC8k /c58q/UKg9412Oj7dTT2AiSH9oDUgzMINQwKzl0hfI/nMBYtt2LSDhR6dY7zoztuwQdF rfdA== 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=2pN0hU1hCqucuyS62P/IMJb2sy4J0ikzNhe7ao/GFyI=; fh=UZfhiU2pgwvZdBOe9fFEhnfTQX0/6KsvXKQubWsfhik=; b=WyBd2vnzdNyU4jMIWD+C/wryeLRQWhvgcMw7AfVYfdXCC1aFW1rT91L1C2yJeG2qxf 86jAQnJhAmVD5tuiHRwFYYgEO6Ssib5SPfxcbas37Rw26ZfKMroGzroypB1z6WUjDmWX KtQCFfU2cjfziQmOVdbE2UldCdHeEp2uyTenSDckMpF1GAliq7AnJsao0MUF+P/pKO3F TNvuL2xX7KGlgUZVyxcLefHelxW3j9F/3QO4K/hIIY5PGgA84wMUVOHp1ycTjuRJylhH +ZP5CkRudDQzXvlrcGo1aRvtTYZE81wjK/bMEwAHvvaHQSWJXBqz0bu6mqkV9hakAtXh n3gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=YsSJpqZ2; 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 e20-20020aa7d7d4000000b005222d472bbesi7369518eds.219.2023.07.31.23.23.44; Mon, 31 Jul 2023 23:24:08 -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=YsSJpqZ2; 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 S230115AbjHAFaU (ORCPT + 99 others); Tue, 1 Aug 2023 01:30:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230076AbjHAFaS (ORCPT ); Tue, 1 Aug 2023 01:30:18 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 656171FC9; Mon, 31 Jul 2023 22:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1690867812; bh=LvmZQIdIvROwNs8BBjCvj4x9lJTSLnFE4blB41Pgq2w=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=YsSJpqZ2f/fuBOe5XDdxzjkeIbjaFCdpFWaAu5aP0JM1Si7mfcjWZfrWbsLy/RwkE IqQbfH5hv6EuqnFt1Vjn/qfWgkIZ3BKmJjTb1aRzu6vZmecUEiYGoSdhmWleRCM0hP dcemk/ArZ0C72K/RL43mX2eoBpZZr2Ktas9VEDeg= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Tue, 01 Aug 2023 07:30:08 +0200 Subject: [PATCH v2 01/10] tools/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-1-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=540; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=LvmZQIdIvROwNs8BBjCvj4x9lJTSLnFE4blB41Pgq2w=; b=ptgAfvbtUCQspRY5LLdaICU9RvnVqt3pjEXxvYG8xyULrsdoSM0Affxkp6csANNKE7RmW659D skYac7bVfXmBbbdEyqrDJoUF6P0IRr+6/wl87piN8r0AphhAFb5BvnD 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 Nobody needs it, get rid of it. Signed-off-by: Thomas Weißschuh --- tools/include/nolibc/sys.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/include/nolibc/sys.h b/tools/include/nolibc/sys.h index 8bfe7db20b80..889ccf5f0d56 100644 --- a/tools/include/nolibc/sys.h +++ b/tools/include/nolibc/sys.h @@ -738,7 +738,6 @@ static __attribute__((unused)) int open(const char *path, int flags, ...) { mode_t mode = 0; - int ret; if (flags & O_CREAT) { va_list args; -- 2.41.0