Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4119004rwb; Mon, 31 Jul 2023 01:23:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlE5K1ksRb2ruNSGVbhd8XBVwdYrNowuCons3pzAmCrl9U0dx+61MDyfBetRVbjhCMb2IgsU X-Received: by 2002:a05:6402:1208:b0:51e:1af0:3a90 with SMTP id c8-20020a056402120800b0051e1af03a90mr8076126edw.37.1690791823005; Mon, 31 Jul 2023 01:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690791822; cv=none; d=google.com; s=arc-20160816; b=wkXGcuPm+/loHajvy9brkEPwTU/sKUCFsqUfE8DWnX6p23AaCc4mnh6qszDHnzza5v uwQI6BaaaVfHYDA72rgqwyVnfBYzb6wL37xq0la7SfNoCr6087q3Wn+/w2qQ2gBQmOm+ 5rjh5qUk0KJ5REi9hnZD9QJ0a+ai5oQ8j774JKCCDEiWPQh1XXlnIQgx7I1TYL7t8o31 lFDQJc8FZmnT9ina9mU3JRARUea2i4sxGG4vPQJK7hyRctfBYtOM7I7kx248rKlnd2TC avF2QCzjZcaFlPBFnFh5z80eEh0X5Ofc7kpz3xHCSf1ZtSpyi/t5XEmk2wbDbApp6jJG uGTw== 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=nRxTu41PiWwYI7Zru5SSe0Fsw01McQFCchmOFbOI0/2Ep5HKpB2AUeTTXQPY12cDxx P4/wOHRipDD1OxDn8zYkVJXFTbIYqvf2ol4bYvYNmT7TgHTssz4yCRg1REKfKaPWj5IY CT5q8lssMD4/2p6/t5rU7Ia3UeZFGD5T0bSxv9Wz1gSb79JmczYTRGGBx5eL7NaCqNyL 3lwhaeEcNP2hJMpwVQOyBbFDp52c2y1D/MzLeJSav53SjSrXR8Dx55vtNc1WVBStXWT8 L5SNMeaViy5s6MlZ0ZHO7DK6joiV1IMvyBQu0eB/VQlYTTO8kPjF3d9KFJSp3ytbfrPa yu9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="gvI2i/X5"; 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 j9-20020aa7c0c9000000b00522423175b9si6346487edp.518.2023.07.31.01.23.17; Mon, 31 Jul 2023 01:23:42 -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="gvI2i/X5"; 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 S230235AbjGaG1M (ORCPT + 99 others); Mon, 31 Jul 2023 02:27:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbjGaG1C (ORCPT ); Mon, 31 Jul 2023 02:27:02 -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 A4895E6F; Sun, 30 Jul 2023 23:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1690784818; bh=LvmZQIdIvROwNs8BBjCvj4x9lJTSLnFE4blB41Pgq2w=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=gvI2i/X5im2ahZdFvSaVa9KNeP4jeORaiNKeL5hHIKbj7TdHojC0P3yxe27+9vXDB IkTpnZnRkODOsuw3JZy/467zaayIKLPq+ri1+h0lrnJykGmn9OVP52+fBpSZCbo0VT 3p+6pOk8AJc0C73ATLSFkluNZNzF5TstrbFgh8bg= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Mon, 31 Jul 2023 08:26:58 +0200 Subject: [PATCH 3/4] tools/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-3-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=540; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=LvmZQIdIvROwNs8BBjCvj4x9lJTSLnFE4blB41Pgq2w=; b=uwkXwy2v/nU5enWds8bgac9/9EudpZ4Km0p/0z+y//9evIaD0SxhTOxLGiuSv2wbkIpsbPh9+ VHlsEtREOZeCZrRJUNccRh1kWOpJSaWWSnyyOu+PDxK02XH3+hzR4hg 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_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 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