From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23F02C433EF for ; Sun, 17 Oct 2021 15:37:25 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6D1E360E74 for ; Sun, 17 Oct 2021 15:37:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6D1E360E74 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1CB06832EA; Sun, 17 Oct 2021 17:37:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="IzP6a3VP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 70E8683404; Sun, 17 Oct 2021 17:36:57 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D3D5C83303 for ; Sun, 17 Oct 2021 17:36:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kabel@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id A0325610E5; Sun, 17 Oct 2021 15:36:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634485006; bh=VKCD/A+IwNOwyDYxUaAaLsGE+qtyOyoN1yIDhZ2I4gw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IzP6a3VP29wvumkdxIIxB7pAukmn6v0OFi1aVo51yB23YjmplOdWABs6T470QNOcx JPuPZwUXn4YGVEH89Zj2xfo7lK7KeU1e72dKc2JjfvN/GPNV4vEShp2Y+LsyfRpwvO cT1B4ixxUb+j2rCNa5Cj1DTyI8Pkil2XOuviN3LQG+/86J9Gf6UtSvo6pJdCH3pvjL bcWU3pTmPdbr+VB5PyELwnoXOuNuidLc57RrqwEuzZo0WGRkvPc9tlkrCVSBVw4kX9 3bQIyVPN+fibc3ms4Dyr+mizXt5pFpfpqaRf1ZExO7Kl5bTrKBMJZk5NW9TC/kdJuW SrtVgywyDoSrw== From: =?UTF-8?q?Marek=20Beh=C3=BAn?= To: Simon Glass , Tom Rini Cc: U-Boot Mailing List , =?UTF-8?q?Marek=20Beh=C3=BAn?= Subject: [PATCH v3 03/13] examples: api: glue: Remove comment that does not apply anymore Date: Sun, 17 Oct 2021 17:36:28 +0200 Message-Id: <20211017153638.29870-4-kabel@kernel.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211017153638.29870-1-kabel@kernel.org> References: <20211017153638.29870-1-kabel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Marek BehĂșn This comment is not true since commit 6215bd4c1fd6 ("api: Use hashtable function for API_env_enum"). Signed-off-by: Marek BehĂșn Reviewed-by: Simon Glass --- examples/api/glue.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/api/glue.c b/examples/api/glue.c index 91d13157a1..075d307ae2 100644 --- a/examples/api/glue.c +++ b/examples/api/glue.c @@ -365,11 +365,6 @@ const char * ub_env_enum(const char *last) env = NULL; - /* - * It's OK to pass only the name piece as last (and not the whole - * 'name=val' string), since the API_ENUM_ENV call uses env_match() - * internally, which handles such case - */ if (!syscall(API_ENV_ENUM, NULL, last, &env)) return NULL; -- 2.32.0