Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1900739rwo; Thu, 3 Aug 2023 01:16:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlHBOHMVidbcJme9x4iSakN005vX/Sdq2O/RRMgcG3w3ovNWfVWfHZPjVBA2EX4XANPO/bqV X-Received: by 2002:a05:6300:8003:b0:135:4858:683 with SMTP id an3-20020a056300800300b0013548580683mr18170329pzc.48.1691050562288; Thu, 03 Aug 2023 01:16:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691050562; cv=none; d=google.com; s=arc-20160816; b=q68919nMh9agXZfAXZlgu51uYEgEm3YTMt+U1fAr8BFmO/f0A/czKPb9D3bN+oLYwv bKxqP9wxKXQBoZnrxeIT2rhrGzdXq+HHGiYZHxdPhR5rruJwr+Wn507LZRPWvCd3/UnS wEVEw1DQ7jtxrxo1m5UFV5AwqA8zuhP4U68ScqdclwyURM1fS4b3oEUVMdOAO/YUkOyt fSvbsgdfF17BSBtFD5OJU6uWk5ZS8V0bzFp7VZWRfg+fFR9cSx6byuAFlfGi9Y4Sp5jJ T5VmUusuBqclJp960purIdCaDkMG2BEWznxMxCp2mhdGZ7obE1H3V2g0hKTHkQZ+4ReJ 7oDQ== 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=R48g9uvFogmWFbWA+aXjwgZ8D04q+1V9ZqZxZjTz7FE=; fh=UZfhiU2pgwvZdBOe9fFEhnfTQX0/6KsvXKQubWsfhik=; b=VxV+DfEhe8NO6ZRvpL1rQeVtwo8iHvTxWO2dcRGdLHEJqock7IItRr/+WdCHwLsNJ0 62Gn1dsXfJw6l7r2Z5fjYklPyPpLWi1Ohp7qMqh7m3tH97BgjqWsAqKjHXLjKIz8OBPB LvnXDnOoGHSELM7xgMhVOMi3Qn3nowzceTXgZbCoJYPECKn3poMXk2mwvXyLGvKjbtMm tBNOPw7zGfOuo0Rwp0GVuVQK3IX+SCDn9IPeEI6FS4vCyS1XyXB+jBxQ5yLD2vwfr6vj 6QPWXI1U56BevK/tTt66saj3i+YOOXPrRfuyMXOPuHIfaSm9C99/9uk8KLPrLdfrfqb6 kqXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=JLqozudc; 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 w18-20020a056a0014d200b00687501ac7dasi4987229pfu.363.2023.08.03.01.15.49; Thu, 03 Aug 2023 01:16:02 -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=JLqozudc; 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 S232832AbjHCH26 (ORCPT + 99 others); Thu, 3 Aug 2023 03:28:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230491AbjHCH2w (ORCPT ); Thu, 3 Aug 2023 03:28:52 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF7692728; Thu, 3 Aug 2023 00:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1691047728; bh=KUq+Z6mBKlGZgjoNtyoT13RhBRgveu43YIN2WjHIqHQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=JLqozudcDF5reThsW4xR/vFIF7YtkV43chGK/LHjHwzy/8rhGtZb9BNHAR86umU9u V9heA2CxAQ16ITl6vx4pAp3b3rD/x+7OAX7Nr8lBwpOFPS5CBU8WuOb2PCU6EO9JFW UPTu7dVLVttRsRSr4J419DjZtSG1zAUxRXaA1jzE= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Thu, 03 Aug 2023 09:28:45 +0200 Subject: [PATCH v3 01/14] tools/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-1-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=540; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=KUq+Z6mBKlGZgjoNtyoT13RhBRgveu43YIN2WjHIqHQ=; b=F88GA5vIxDDOnpVXApthFWAjZoP1+Q9qeOo6gP0vs+IA01yJ7IIbS8E9/m8yi9U+umuqG6Gun 2nlwDGaqsPfAaptBKF0HJRQ9S5/dy2ntpvwwBsZvmd3ek24qrEBUrT0 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 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 56f63eb48a1b..e12dd962c578 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