Message ID | 20220617153653.1307687-1-etienne.carriere@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5806:0:0:0:0 with SMTP id j6csp483006max; Fri, 17 Jun 2022 08:37:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vBKkXZ7wJy2vFSg6MXbQuFIs6i0hb8q1Yt2OnbRt61DcbX87pG8vqxU6xYmqynQjpgqvKG X-Received: by 2002:a17:907:8195:b0:710:b40:95d2 with SMTP id iy21-20020a170907819500b007100b4095d2mr9903643ejc.604.1655480269679; Fri, 17 Jun 2022 08:37:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655480269; cv=none; d=google.com; s=arc-20160816; b=kJPEjwIaNiq0Fzo4Oe7CH0bnTsc6jWrG29ad2yLv125HEkChjvkcgpF8lNjVXRCH0A aoXnnv0m9DY+3OrMAPYDNLFZIcUvT/0TDMy+BGgusGsamS4CDeLNhKqcSe/GJP+7+l0e V3E7LTYxsYTjAQ+b1VsbjxYyL/HwHSOtileXWD41AytOMphqed2MIQTrcc9FkG0bSO+l 8aXsYm5+YipklTOsRVJztuQct2n1RiJipfHxi4DsAsoDqGaU7/mUbtj3Chp0rk0888NP XRHcz51jTDJS+g1dkwKAyCx71DXCQ8PXs6ID8E6lx+tC8buqvzJEoEmrSeuONUVjjxf8 lULQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=C9QNHmZIhfZ+GobcR03ULZYs94+/K0SQBBGunHdDqIg=; b=qT04YI2veQufD5bnqrVjVKLq7WfnLfexejaK0IFo+iAz6dSQnxhOoTZaCn1DxXwVNO 02yjku7k9QQd8ryoNbD0qO2mdDIMhFhbeJHuhM8qbXPaVJF/X+0hq09ELHcNhlXnC1Nz SfhATk2f32XNegbNmkGdSAph8K+7lO5qUZuT+12DnS//NJdga8mTQ7b68kG+UPq2SskQ PyWGQhS5OCfUfei/6krtGlmOY899lsM0W/J6SyPUfg28rWKvR8QBvyywTBT9uugr8pON ng2b3oGXDs0EV49+mT9kYrvXA9iR6AZZ4+QAqhQPmAXf3mjpnGxFVYRHWvN1A3Q9Uhcp 8Neg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=syipEGAj; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id dd7-20020a1709069b8700b0070434ac836esi1393763ejc.468.2022.06.17.08.37.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 08:37:49 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=syipEGAj; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5193D843F0; Fri, 17 Jun 2022 17:37:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b="syipEGAj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E99898440B; Fri, 17 Jun 2022 17:37:45 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: 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.2 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AF16B84319 for <u-boot@lists.denx.de>; Fri, 17 Jun 2022 17:37:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=etienne.carriere@linaro.org Received: by mail-wr1-x430.google.com with SMTP id q9so6236287wrd.8 for <u-boot@lists.denx.de>; Fri, 17 Jun 2022 08:37:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=C9QNHmZIhfZ+GobcR03ULZYs94+/K0SQBBGunHdDqIg=; b=syipEGAjJlw7eLWVMwWljuX+ZiOLCPyfyVSJ5bHlqpHoP6+DcABicR3lrBuMRo6RC6 wooYFZKssU5AX4xk5HC6L0u0VRwbVDP/2Zrw7vd3g94YQKMj5aEnJe1j1nyo0X/sbQzq YSE1iau6xQpIJgwRGiOuMDwPMNrZSL5iWJno2aVQO7+7DBx0eOJkDyrLjypYoseFHjZo Mdc5ysIVW8EzW/gbyA6cRuWwpjCgbAZgRrefwufU8246PYNY2z6l264/wFvAtpJFDu0l BMdbdsh68HScCrQtWymBNrxs5r8ZqaJpCMLqbP1lRK+W5s9TbQl5JIpcC94uWq9P7qXa CC2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=C9QNHmZIhfZ+GobcR03ULZYs94+/K0SQBBGunHdDqIg=; b=WBu6iFoS2mo48XU/iGq/YzS1pFrOuWu99XMJwwzd94QFVD0HvjlU9+o+oXWguEvM5v f6ppHyf1XpgDJLtBOG4T6JrjMlVO8tRKMleDZFi8eYNk2c786DRFmGYVcoXcx37XhUYp hlmn/6S8q8l+28CgxKBgmQSlhICe8T5tOL9+P0AbYe6KCd2NVzKww/9NhP3ttflbmCsG TInf5aAL6oQtYm2ao4cjw9ksXBrIDyn0fhaYzBaBTerrtwd1MnvMLUEpvt7T7bEPU/6z LVlcmOVIt+yTtY6+F9pUPsntlFOL/2MsH4f5j5C2YG1loNzRchjizTDiwW16Xn6uKxik xeQQ== X-Gm-Message-State: AJIora8feSUjPlYs5AUGYuUxK3m9KfXjUx0Tp/DlJNiqWS6zIxQKw7CR pD2qDSK+FNHIwk85YEjlsBpKEBcvCjfs4Q== X-Received: by 2002:a05:6000:186f:b0:213:4ece:4086 with SMTP id d15-20020a056000186f00b002134ece4086mr10115009wri.438.1655480262927; Fri, 17 Jun 2022 08:37:42 -0700 (PDT) Received: from lmecxl1178.lme.st.com ([2a04:cec0:1019:294c:22b8:b283:9bfe:2096]) by smtp.gmail.com with ESMTPSA id m13-20020a5d4a0d000000b0021a2c923c72sm5069545wrq.69.2022.06.17.08.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 08:37:42 -0700 (PDT) From: Etienne Carriere <etienne.carriere@linaro.org> To: u-boot@lists.denx.de Cc: Etienne Carriere <etienne.carriere@linaro.org>, Patrick Delaunay <patrick.delaunay@foss.st.com> Subject: [PATCH v4 1/3] drivers: tee: optee: remove unused probe local variable Date: Fri, 17 Jun 2022 17:36:51 +0200 Message-Id: <20220617153653.1307687-1-etienne.carriere@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean |
Series |
[v4,1/3] drivers: tee: optee: remove unused probe local variable
|
expand
|
diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c index a89d62aaf0..c1f5fc4c7a 100644 --- a/drivers/tee/optee/core.c +++ b/drivers/tee/optee/core.c @@ -642,7 +642,6 @@ static int optee_probe(struct udevice *dev) { struct optee_pdata *pdata = dev_get_plat(dev); u32 sec_caps; - struct udevice *child; int ret; if (!is_optee_api(pdata->invoke_fn)) { @@ -673,7 +672,7 @@ static int optee_probe(struct udevice *dev) * only bind the drivers associated to the supported OP-TEE TA */ if (IS_ENABLED(CONFIG_RNG_OPTEE)) { - ret = device_bind_driver(dev, "optee-rng", "optee-rng", &child); + ret = device_bind_driver(dev, "optee-rng", "optee-rng", NULL); if (ret) return ret; }