From patchwork Tue Mar 8 08:53:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 1602826 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=YX3CrVPD; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::937; helo=mail-ua1-x937.google.com; envelope-from=swupdate+bncbcl5ryhm6ecrbvnttsiqmgqerxbespi@googlegroups.com; receiver=) Received: from mail-ua1-x937.google.com (mail-ua1-x937.google.com [IPv6:2607:f8b0:4864:20::937]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KCTfc3jXJz9sGF for ; Tue, 8 Mar 2022 19:54:48 +1100 (AEDT) Received: by mail-ua1-x937.google.com with SMTP id ay14-20020a056130030e00b0034b745640f6sf4788442uab.15 for ; Tue, 08 Mar 2022 00:54:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646729686; cv=pass; d=google.com; s=arc-20160816; b=ulTtOwu/kd6hTcECTQDFVj4z35FxjaRCFxTtgQpFDcZ5owlmDMTJk5sziZj/lr1cQT Ef+6rP5sQLNgLtPNGyHm6UM/EfN8bprc6Lw7JpkeTjGDJPuJ4y464gZvigLHrZYSa+nW 6IrG6h5z9aZ63YX6dW8qtz6Bo545DKdQzf+cLJ6sS2gFXugYVnhYZFSfQIN0qEWaBBd9 AuO+uctvWE0QzNjTXYM5ipW8b0x3vQ4HYZ/W09FJI9CcAjQxQ5YrcakMLJAnUor32cEQ qwEc99TzqImBGUshiouvLxoeRDLtT1/uSrRm+wqEevXmllPJ+dB3ojKkrSyXX9icQFvB LF/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=6PFsGJR7pRIEfnPodrFfEhVanYLHTvZh9NDe3LDthzg=; b=wuulEHf2YBEcfsjuLPJUn1RuDSafWj8cWOjAITItichAeUzXcEgKnaehng/bDn1HYt Ui2NLmBuJc0iqoO7uQdKXMc9c3fsLPeXC6nAQf6Y1z8h1b3c0p/mKc8gZJ4ZSlwzxb5r fh/hW0Jmg0WvqzNcA3rJ2CDaEwp49b/R4xoOvKStsBUE5WHfr7onfD6BadNXzbDGhhDF 2nGq7TqpuClM2ufGjLgchrmtoqofn0dMYpQL7PE/zEYYUpX8UqFpXMCM3vicuZmtNpkI 4dhw8h2v9krkrCGL2xqY7FspomRd8h+dQGBLb/gUeyb+/c9+p6e+qDTtNK68MQasLkvd pj5w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@boundarydevices.com header.s=google header.b=PCPUgTgr; spf=pass (google.com: domain of gary.bisson@boundarydevices.com designates 2607:f8b0:4864:20::62f as permitted sender) smtp.mailfrom=gary.bisson@boundarydevices.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=boundarydevices.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=6PFsGJR7pRIEfnPodrFfEhVanYLHTvZh9NDe3LDthzg=; b=YX3CrVPDafFzBn3/zkMSO1VRowOJU21Pa8cmOqyB6nUzMYIQ/4hb4QtTLKa4aUiPbp B4QTLAxMzoKh7IxM9h85o1YdS51gQxAf8rX4tFD3mL28ANXsMruf8+EG1RrFyCh+3I0G zXh2so/3pkhwKOpPD/+C4RYQ8aitdCGLvBvcen2a/qmBli6lKYd6f4w98jUPuG5e0+IQ npCx1DobYN90o/Kti5PV0QycrwDYzvQXKNopcnY12fT0BnXbz5eqjU+vpE/rIvKv2Zat LxW5E1s4YS5ZJ+x3Avxjh/Y+9iHsfm7t6hupxRBwqFtPbs1vUFnEjSmYuj+PvDZH0E2E 3ukw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=6PFsGJR7pRIEfnPodrFfEhVanYLHTvZh9NDe3LDthzg=; b=wMEG/1OK+TV8QeZ1sjaEByu7CEdz26BVGxfCF85kcpAMynWNYu8OeTLE4kSzbQ/1lg FW5x/CwJMj84pTYJb0Ev8bP+B0+PNYOHdVt7H8Us11xbEpPPmAHjvOU5JEtNbpR6QXyz esx9U8+NY+qmbxLyu9WKFO4laE1F9DfKkdXVfPP/aQOJ1RWjjKO0PypFlBvJZ7UN8fLE Q8nK2MagqCjhhiapSmcJsOnPRwlL96wuRMo489goMDN9yfQjUNvJqiYm6HuBS9v7pqHx ZgEM1g3Bn1557xheFKuMHtjT4fdj3NVOvldcFiw1zO4O209V6myhchoCckJJwzpGGfXL S/SQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM531iyXlCLRjgNegOgmRRAh25o65u5zZXb7C+TEl+tiZYP1Sboawo 1rVVcz3fjBgl/EOPcAUw2vs= X-Google-Smtp-Source: ABdhPJzdZWboVcTafEF5TOVKodbRQvNmI49XDyDRMKmj4m0TZqK+adlC5+uUQcq9OLB1+9Cxzog+vQ== X-Received: by 2002:a05:6102:5706:b0:320:81eb:d7f6 with SMTP id dg6-20020a056102570600b0032081ebd7f6mr7056366vsb.72.1646729685797; Tue, 08 Mar 2022 00:54:45 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:ab0:36d8:0:b0:346:3872:d9d7 with SMTP id v24-20020ab036d8000000b003463872d9d7ls1060591uau.1.gmail; Tue, 08 Mar 2022 00:54:45 -0800 (PST) X-Received: by 2002:a9f:2008:0:b0:33d:b3:a3de with SMTP id 8-20020a9f2008000000b0033d00b3a3demr5872521uam.71.1646729685236; Tue, 08 Mar 2022 00:54:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646729685; cv=none; d=google.com; s=arc-20160816; b=KVFMMX/rodGprH0WyXOupF2EKwXf8PgkrfBVzYv00vdNhbqvv8wOUCt/iSm9fI0eAP m+0R5xC1CCo5Dw8k63kONfqr6xG2+ri/EGuuVAqnw/gbzzsh1DRCdxrrNdbtFbSXDMI5 CCUUsOmCaRBhJrYyKUCQsddN0u028xySsLIAj9fMcIsmsG4mk3EO/8xS329FsJ475IHe YKlCcpXeEWtrNms7FRAzR5qzU9E7k7poRjJPG+DZaPK+boVm6JIqUSLgVN4EyXbrmZpS HhLC8p32z/3+jSasrRQahcszRFoP/WF1KDHm25pHsVYM4r+CD8Hhuk1wYqDKbYewLIcY 36Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=MKVPAwSVXqFveQy73fww+ixZNcz5IG7AUJ7UXmCcFCs=; b=DmlYTU+PCZqB4jDyyu2oxNp9DOdS82tKA/Qsnfak3fGk3HVMzJV3A/u+JPqv/0KV/O Eh3BQcabnpOI2PzlZXYE2dolgqT7SxcpB2qXGG2Vuemi9o59URoLzfzxS7RD5HOirHle 49PEtSGo1/ilqKQt+tlqpkjRZRhBadq9RdRKMBkQjlt3gikXVZ8HafVoY588yACSBg3W kPLjtN6yGWExCnpZOIKX6aVqAMb8i6ZzGwFOlNUNKSCmNTJY0OnFbxshuQVeA/tYDK4S cE2apwVlRULnZk+JvfMp9mp1ewsBXzZjjZqnsXv19Lk+2cIkytNBzDooANVwZCRIvua6 uZ7w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@boundarydevices.com header.s=google header.b=PCPUgTgr; spf=pass (google.com: domain of gary.bisson@boundarydevices.com designates 2607:f8b0:4864:20::62f as permitted sender) smtp.mailfrom=gary.bisson@boundarydevices.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=boundarydevices.com Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com. [2607:f8b0:4864:20::62f]) by gmr-mx.google.com with ESMTPS id f22-20020a67fd16000000b00320a3066befsi435261vsr.1.2022.03.08.00.54.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Mar 2022 00:54:45 -0800 (PST) Received-SPF: pass (google.com: domain of gary.bisson@boundarydevices.com designates 2607:f8b0:4864:20::62f as permitted sender) client-ip=2607:f8b0:4864:20::62f; Received: by mail-pl1-x62f.google.com with SMTP id n15so6470464plh.2 for ; Tue, 08 Mar 2022 00:54:45 -0800 (PST) X-Received: by 2002:a17:902:e807:b0:151:e079:e945 with SMTP id u7-20020a170902e80700b00151e079e945mr11083421plg.172.1646729683891; Tue, 08 Mar 2022 00:54:43 -0800 (PST) Received: from localhost.localdomain (2a01cb0007fc20008a20f9fbd85df515.ipv6.abo.wanadoo.fr. [2a01:cb00:7fc:2000:8a20:f9fb:d85d:f515]) by smtp.gmail.com with ESMTPSA id mp10-20020a17090b190a00b001bf8453aea8sm1888132pjb.42.2022.03.08.00.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 00:54:43 -0800 (PST) From: Gary Bisson To: swupdate@googlegroups.com Cc: Gary Bisson Subject: [swupdate] [PATCH v2 5/6] uboot_env: remove unused function Date: Tue, 8 Mar 2022 09:53:51 +0100 Message-Id: <20220308085352.183941-6-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220308085352.183941-1-gary.bisson@boundarydevices.com> References: <20220306132635.220607-1-gary.bisson@boundarydevices.com> <20220308085352.183941-1-gary.bisson@boundarydevices.com> MIME-Version: 1.0 X-Original-Sender: gary.bisson@boundarydevices.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@boundarydevices.com header.s=google header.b=PCPUgTgr; spf=pass (google.com: domain of gary.bisson@boundarydevices.com designates 2607:f8b0:4864:20::62f as permitted sender) smtp.mailfrom=gary.bisson@boundarydevices.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=boundarydevices.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Gary Bisson --- Changelog v1->v2: - None --- src/uboot_env.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/uboot_env.c b/src/uboot_env.c index d83ca96..6fb6c69 100644 --- a/src/uboot_env.c +++ b/src/uboot_env.c @@ -144,15 +144,6 @@ static void free_var_entry(struct var_entry *entry) } } -static void remove_var(struct vars *envs, const char *varname) -{ - struct var_entry *entry; - - entry = __libuboot_get_env(envs, varname); - - free_var_entry(entry); -} - static enum device_type get_device_type(char *device) { enum device_type type = DEVICE_NONE;